File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1818# Silently quit Walker on overlay
1919walker -q
2020
21+ rules () {
22+ # for now, omarchy-cmd-screensaver requires focus
23+ echo " [no_focus off;no_close_for 1000;monitor ${1-0} ;float;fullscreen;opacity 0.5]"
24+ }
2125terminal=$( xdg-terminal-exec --print-id)
2226for m in $( hyprctl monitors -j | jq ' sort_by(.focused == true)' | jq -r ' .[] |.name' ) ; do
2327 case $terminal in
2428 * Alacritty* )
25- hyprctl dispatch exec -- [monitor " $m " ] \
29+ hyprctl dispatch exec -- " $( rules " $m " ) " \
2630 alacritty --class=org.omarchy.screensaver \
2731 --config-file ~ /.local/share/omarchy/default/alacritty/screensaver.toml \
2832 -e omarchy-cmd-screensaver
2933 ;;
3034 * ghostty* )
31- hyprctl dispatch exec -- [monitor " $m " ] \
35+ hyprctl dispatch exec -- " $( rules " $m " ) " \
3236 ghostty --class=org.omarchy.screensaver \
3337 --config-file=~ /.local/share/omarchy/default/ghostty/screensaver \
3438 --font-size=18 \
3539 -e omarchy-cmd-screensaver
3640 ;;
3741 * kitty* )
38- hyprctl dispatch exec -- [monitor " $m " ] \
42+ hyprctl dispatch exec -- " $( rules " $m " ) " \
3943 kitty --class=org.omarchy.screensaver \
4044 --override font_size=18 \
4145 --override window_padding_width=0 \
You can’t perform that action at this time.
0 commit comments