diff --git a/flake.nix b/flake.nix index c085128..4c155be 100644 --- a/flake.nix +++ b/flake.nix @@ -61,7 +61,7 @@ home-manager.nixosModules.home-manager { - home-manager.useGlobalPkgs = true; + #home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.gunalx = import ./home/gunalx.nix; home-manager.backupFileExtension = "bac"; @@ -96,7 +96,7 @@ home-manager.nixosModules.home-manager { - home-manager.useGlobalPkgs = true; + #home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.gunalx = import ./home/gunalx.nix; home-manager.backupFileExtension = "bac"; diff --git a/home/niri.nix b/home/niri.nix index 248aeda..74e1a37 100644 --- a/home/niri.nix +++ b/home/niri.nix @@ -82,7 +82,7 @@ let //switch events for open closing lid. switch-events { - //lid-close { spawn "gtklock"; } + lid-close { spawn "gtklock"; } //lid-open { spawn "notify-send" "The laptop lid is open!"; } tablet-mode-on { spawn "bash" "-c" "wvkbd-mobintl"; } tablet-mode-off { spawn "bash" "-c" "pkill wvkbd-mobintl"; } @@ -408,6 +408,7 @@ let Mod+T { spawn "sh" "-c" "if pgrep -f '^foot -T dropdown$' >/dev/null; then pkill -f '^foot -T dropdown$'; else exec foot -T dropdown; fi"; } Mod+D { spawn "fuzzel"; } Mod+O { toggle-window-rule-opacity; } + Mod+G { spawn "gtklock"; } // You can also use a shell. Do this if you need pipes, multiple commands, etc. // Note: the entire command goes as a single argument in the end. diff --git a/home/wlogout.nix b/home/wlogout.nix index d9000c9..ee171c0 100644 --- a/home/wlogout.nix +++ b/home/wlogout.nix @@ -30,7 +30,7 @@ in layout = [ { label = "lock"; - action = "swaylock"; + action = "gtklock"; text = "Lock"; keybind = "l"; }