Skip to content

Instantly share code, notes, and snippets.

@cocreature
Created July 17, 2018 11:44
Show Gist options
  • Save cocreature/d3c25fb62189316d3a3efbb93519c4a1 to your computer and use it in GitHub Desktop.
Save cocreature/d3c25fb62189316d3a3efbb93519c4a1 to your computer and use it in GitHub Desktop.
function launch-gnome-control-center
set gnome_shell_path (nix-store -qR /nix/var/nix/profiles/system | grep gnome-shell)[1]
set mutter_path (nix-store -qR /nix/var/nix/profiles/system | grep mutter)
set XDG_DATA_DIRS $gnome_shell_path/share:$gnome_shell_path/share/gsettings-schemes/gnome-shell-3.28.2:$XDG_DATA_DIRS
echo $XDG_DATA_DIRS
env XDG_DATA_DIRS=$XDG_DATA_DIRS gnome-control-center keyboard
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment