2024-08-20 20:24:43 +03:00
|
|
|
{ ... }: let
|
|
|
|
mod = "print";
|
2024-05-09 00:20:56 +03:00
|
|
|
in {
|
|
|
|
text = ''
|
2024-07-30 19:02:21 +03:00
|
|
|
bindsym ${mod} input * xkb_switch_layout 0
|
2024-07-28 03:51:41 +03:00
|
|
|
bindsym --to-code ${mod}+c exec 'systemctl reboot -i'
|
|
|
|
bindsym --to-code ${mod}+g exec 'swayscript gamingtoggle'
|
|
|
|
bindsym --to-code ${mod}+l exec 'powerlimit toggle'
|
|
|
|
bindsym --to-code ${mod}+m exec 'swayscript montoggle'
|
|
|
|
bindsym --to-code ${mod}+p exec 'powersave toggle'
|
2024-08-20 11:27:59 +03:00
|
|
|
bindsym --to-code ${mod}+r exec 'swayscript reload'
|
2024-07-28 03:51:41 +03:00
|
|
|
bindsym --to-code ${mod}+v exec 'swayscript vpntoggle'
|
|
|
|
bindsym --to-code ${mod}+x exec 'systemctl poweroff -i'
|
|
|
|
bindsym --to-code ${mod}+z exec 'systemctl suspend -i'
|
2024-05-09 00:20:56 +03:00
|
|
|
'';
|
|
|
|
}
|