This commit is contained in:
2025-12-01 14:25:47 +01:00
parent db5312b5ca
commit 8da0b07a86
3 changed files with 5 additions and 4 deletions

View File

@@ -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";

View File

@@ -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.

View File

@@ -30,7 +30,7 @@ in
layout = [
{
label = "lock";
action = "swaylock";
action = "gtklock";
text = "Lock";
keybind = "l";
}