From c70ec06aab6fe20af157a185b61856fcbcb0e879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Sun, 3 Mar 2024 23:38:43 +0100 Subject: [PATCH] 66 current 1970-01-01 01:00:00 23.11.20240229.068d4db 6.1.79 * --- hosts/MaxNixosLaptop/home.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) 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";}