diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-05-23 21:03:57 +0000 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-05-23 21:03:57 +0000 |
commit | f8aabcef2df45dc52d74eb44ac7a37c5776a217e (patch) | |
tree | 5ebcdbdaa196de9c9adb9918c215ba7aeebb8634 /.config/yambar/scripts | |
parent | a53d7163720c2f2313b9d0eb9170fb88d3a33f6b (diff) |
Added --hint=string:x-canonical-private-synchronous:idleinhibit
Diffstat (limited to '.config/yambar/scripts')
-rwxr-xr-x | .config/yambar/scripts/idleinhibit.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/yambar/scripts/idleinhibit.sh b/.config/yambar/scripts/idleinhibit.sh index ffc8baa..f7af764 100755 --- a/.config/yambar/scripts/idleinhibit.sh +++ b/.config/yambar/scripts/idleinhibit.sh @@ -5,13 +5,13 @@ function toggle { if pgrep "swayidle" > /dev/null then pkill swayidle - notify-send -r 5556 -u normal " Swayidle Inactive" + notify-send -u normal " Swayidle Inactive" --hint=string:x-canonical-private-synchronous:idleinhibit else swayidle -w \ timeout 300 'swaylock -f -i ~/.cache/wallpaper' \ timeout 600 'wlopm --off \*;swaylock -F -i ~/.cache/wallpaper' resume 'wlopm --on \*' \ before-sleep 'swaylock -f -i $wallpaper' & - notify-send -r 5556 -u normal " Swayidle Active" + notify-send -u normal " Swayidle Active" --hint=string:x-canonical-private-synchronous:idleinhibit fi } |