From 338fa6d7bf4cbe22cf9bf704f637ec7d4e1b786b Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sun, 29 Sep 2024 19:58:54 +0200 Subject: t14: 29 current 2024-09-29 19:58:51 24.05.20240928.fbca5e7 6.6.52 * --- modules/gnome.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/gnome.nix') diff --git a/modules/gnome.nix b/modules/gnome.nix index 6d8bb29..219b623 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -1,4 +1,7 @@ { pkgs, ... }: +let + switch-theme = pkgs.writeShellScriptBin "switch-theme" (builtins.readFile ./switch-theme.sh); +in { # Enable the X11 windowing system. services.xserver.enable = true; @@ -43,7 +46,12 @@ binding = "Return"; command = "kgx"; name = "GNOME Console"; + }; + "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = { + binding = ""; + command = "switch-theme"; + name = "Switch Theme"; }; }; @@ -83,6 +91,7 @@ boot.plymouth.enable = true; environment.systemPackages = with pkgs; [ + switch-theme libnotify gnome.gnome-boxes gnome.file-roller -- cgit 1.4.1