mirror of
https://github.com/SeriousBug/dotfiles
synced 2025-01-15 05:40:08 -06:00
try to unlock gnome keyring at login
This commit is contained in:
parent
ff93978926
commit
737fe771e5
|
@ -11,6 +11,11 @@ set -gx XDG_CURRENT_DESKTOP sway
|
|||
set -l xdg_data_home $XDG_DATA_HOME ~/.local/share
|
||||
set -gx --path XDG_DATA_DIRS $xdg_data_home[1]/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
|
||||
|
||||
# Unlock login keyring
|
||||
if test -n "$DESKTOP_SESSION"
|
||||
set -x (gnome-keyring-daemon --start | string split "=")
|
||||
end
|
||||
|
||||
for flatpakdir in ~/.local/share/flatpak/exports/bin /var/lib/flatpak/exports/bin
|
||||
if test -d $flatpakdir
|
||||
contains $flatpakdir $PATH; or set -a PATH $flatpakdir
|
||||
|
|
Loading…
Reference in a new issue