From c1c05d5574127a1c5216313157533ec41dc7f965 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sat, 9 Sep 2023 22:07:16 +0200 Subject: [PATCH 1/2] Add missing quote in command --- modules/home/desktop/sway/swayidle.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/desktop/sway/swayidle.nix b/modules/home/desktop/sway/swayidle.nix index 82f17d0..34d7c8f 100644 --- a/modules/home/desktop/sway/swayidle.nix +++ b/modules/home/desktop/sway/swayidle.nix @@ -10,7 +10,7 @@ { timeout = 600; command = "swaymsg 'output * dpms off'"; - resumeCommand = "swaymsg 'output * dpms on"; + resumeCommand = "swaymsg 'output * dpms on'"; } ]; events = [ From 9715b9569acf1cd2f7049a1e24ecf54e35c7c202 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sat, 9 Sep 2023 23:47:58 +0200 Subject: [PATCH 2/2] Fix error null values crash waybar installation --- modules/home/desktop/sway/waybar.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/desktop/sway/waybar.nix b/modules/home/desktop/sway/waybar.nix index 9d39b6d..9301d27 100644 --- a/modules/home/desktop/sway/waybar.nix +++ b/modules/home/desktop/sway/waybar.nix @@ -21,7 +21,7 @@ [ "custom/sep" "backlight" "battery"] - else null + else [] ) ++ [ "custom/sep" "memory"