i3: fix XDG_CURRENT_DESKTOP

If XDG_CURRENT_DESKTOP=GNOME, then xdg-mime believes gio is on the PATH.
This commit is contained in:
Gabriel Ebner 2017-12-15 09:48:17 +01:00
parent faa85a0ed4
commit b93b7f08e8

2
i3.nix

@ -86,7 +86,7 @@
start = ''
export XDG_DATA_DIRS=/run/current-system/sw/share/''${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS
export $(${pkgs.gnome3.gnome_keyring}/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)
export XDG_CURRENT_DESKTOP=GNOME
export XDG_CURRENT_DESKTOP=X-Generic
for m in xsettings; do
${pkgs.gnome3.gnome_settings_daemon}/libexec/gsd-$m &
done