From f6835e00ac067267dd01851b9439e14ad78275a9 Mon Sep 17 00:00:00 2001 From: notohh Date: Sun, 8 Oct 2023 14:27:31 -0400 Subject: [PATCH] swayidle: reload ironbar after dpms off --- modules/swayidle.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/swayidle.nix b/modules/swayidle.nix index 06ff17e..e30ebda 100644 --- a/modules/swayidle.nix +++ b/modules/swayidle.nix @@ -6,7 +6,8 @@ _: { timeout 500 'swaylock -f --image ~/Pictures/wallpapers/mumei.png --clock --grace 5 --ring-color f5c2e7 --inside-color 1e1e2e --line-color 11111b' \ timeout 600 'hyprctl dispatch dpms off' \ resume 'hyprctl dispatch dpms on' \ - before-sleep 'swaylock -f --image ~/Picture/wallpapers/mumei.png --clock --ring-color f5c2e7 --inside-color 1e1e2e --line-color 11111b' + before-sleep 'swaylock -f --image ~/Picture/wallpapers/mumei.png --clock --ring-color f5c2e7 --inside-color 1e1e2e --line-color 11111b' \ + after-resume 'ironbar reload' ''; }; }