Sway: Toggle dnd on d key.

This commit is contained in:
Dmitry Voronin 2024-12-14 00:32:55 +03:00
parent c1aa3e3a0a
commit b39ab134e7
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -6,10 +6,10 @@ in {
bindsym ${mod} input * xkb_switch_layout 0 bindsym ${mod} input * xkb_switch_layout 0
bindsym --to-code ${mod}+a exec 'swayscript network' bindsym --to-code ${mod}+a exec 'swayscript network'
bindsym --to-code ${mod}+c exec 'systemctl reboot -i' bindsym --to-code ${mod}+c exec 'systemctl reboot -i'
bindsym --to-code ${mod}+d exec 'swayscript dnd'
bindsym --to-code ${mod}+g exec 'swayscript gaming' bindsym --to-code ${mod}+g exec 'swayscript gaming'
bindsym --to-code ${mod}+l exec 'powerlimit toggle' bindsym --to-code ${mod}+l exec 'powerlimit toggle'
bindsym --to-code ${mod}+m exec 'swayscript monitor' bindsym --to-code ${mod}+m exec 'swayscript monitor'
bindsym --to-code ${mod}+n exec 'swayscript dnd'
bindsym --to-code ${mod}+p exec 'powersave toggle' bindsym --to-code ${mod}+p exec 'powersave toggle'
bindsym --to-code ${mod}+r exec 'swayscript reload' bindsym --to-code ${mod}+r exec 'swayscript reload'
bindsym --to-code ${mod}+v exec 'swayscript vpn' bindsym --to-code ${mod}+v exec 'swayscript vpn'