Sway : Add reboot key.

This commit is contained in:
Dmitry Voronin 2024-05-21 23:12:25 +03:00
parent bb7550d338
commit 0d86d0af92
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -2,7 +2,7 @@
mod = key.sysctrl; mod = key.sysctrl;
in { in {
text = '' text = ''
bindsym ${mod}+c exec 'swaymsg exit' bindsym ${mod}+c exec 'systemctl reboot -i'
bindsym ${mod}+f exec 'swayscript montoggle' bindsym ${mod}+f exec 'swayscript montoggle'
bindsym ${mod}+l exec 'powerlimit toggle' bindsym ${mod}+l exec 'powerlimit toggle'
bindsym ${mod}+m exec 'swayscript montoggle' bindsym ${mod}+m exec 'swayscript montoggle'