Hide mode for mako

Change Sway to call a new script that will trigger the idle.sh script instead of triggering sway-tranparency.py directly.
This commit is contained in:
John Mertz 2024-04-19 18:02:34 -06:00
parent ff181bd382
commit f46112ac96
2 changed files with 4 additions and 1 deletions

View File

@ -57,3 +57,6 @@ progress-color=source #d79921
[app-name="some-app-id" actionable]
#on-button-left=invoke-action mail-reply-sender
[mode=hide]
invisible=1

View File

@ -258,7 +258,7 @@ bindsym $mod+Shift+Backspace move container to workspace back_and_forth
### Function row
# Escape: Lock
bindsym $mod+Escape exec /usr/bin/kill -SIGUSR1 `cat ${HOME}/.local/state/sway-transparency`
bindsym $mod+Escape exec ${HOME}/scripts/sway/toggle_fade.sh
# Add Shift: Blank screen
bindsym $mod+Shift+Escape exec /usr/bin/sh -c "sleep 1 ; /usr/bin/kill -SIGUSR1 $(pgrep swayidle)"