Add a keybinding to toggle shortcuts inhibitor
This commit is contained in:
parent
34e6157757
commit
1fc0ce29c3
2 changed files with 6 additions and 0 deletions
|
@ -124,6 +124,9 @@ $bindsym $mod+Shift+n exec /usr/share/sway/scripts/first-empty-workspace.py --mo
|
||||||
## Action // Move focused window to a new workspace and switch there ##
|
## Action // Move focused window to a new workspace and switch there ##
|
||||||
$bindsym $mod+Shift+m exec /usr/share/sway/scripts/first-empty-workspace.py --move --switch
|
$bindsym $mod+Shift+m exec /usr/share/sway/scripts/first-empty-workspace.py --move --switch
|
||||||
|
|
||||||
|
## Action // Toogle shortcuts inhibition // $mod + Control_R ##
|
||||||
|
$bindsym --inhibited $mod+Control_R exec $toggle_shorcuts_inhibitor
|
||||||
|
|
||||||
#
|
#
|
||||||
# Layout stuff:
|
# Layout stuff:
|
||||||
#
|
#
|
||||||
|
|
|
@ -124,3 +124,6 @@ set $calendar_daemon 'calcurse --daemon'
|
||||||
|
|
||||||
# Notifications from Swappy
|
# Notifications from Swappy
|
||||||
set $swappy_notify '[ -x "$(command -v swappy)" ] && /usr/share/sway/scripts/screenshot-notify.sh'
|
set $swappy_notify '[ -x "$(command -v swappy)" ] && /usr/share/sway/scripts/screenshot-notify.sh'
|
||||||
|
|
||||||
|
# Toggle shortcuts inhibition mode for the current focused window
|
||||||
|
set $toggle_shorcuts_inhibitor 'swaymsg "seat - shortcuts_inhibitor toggle"'
|
||||||
|
|
Loading…
Add table
Reference in a new issue