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:
parent
ff181bd382
commit
f46112ac96
|
@ -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
|
||||
|
|
|
@ -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)"
|
||||
|
||||
|
|
Loading…
Reference in New Issue