diff --git a/hosts/MaxNixosLaptop/home.nix b/hosts/MaxNixosLaptop/home.nix index e03cfe2..6046768 100644 --- a/hosts/MaxNixosLaptop/home.nix +++ b/hosts/MaxNixosLaptop/home.nix @@ -123,6 +123,16 @@ names = ["FiraCode Nerd Font"]; size = 11.0; }; + modes = { + pause-break = { + e = "exec --no-startup-id swaymsg exit, mode default"; + s = "exec --no-startup-id ${pkgs.dash}/bin/dash -c '${pkgs.swaylock}/bin/swaylock & systemctl suspend-then-hibernate', mode default"; + r = "exec --no-startup-id systemctl reboot"; + End = "exec --no-startup-id systemctl poweroff"; + Return = "mode default"; + Escape = "mode default"; + }; + }; startup = [ {command = "${pkgs.keepassxc}/bin/keepassxc";} {command = "${pkgs.waybar}/bin/waybar";}