2024-11-04 04:37:29 +03:00
|
|
|
{ ... }: let
|
|
|
|
brstep = 5;
|
|
|
|
mod = "print";
|
|
|
|
in {
|
|
|
|
text = ''
|
|
|
|
bindsym ${mod} input * xkb_switch_layout 0
|
2024-12-12 10:48:42 +03:00
|
|
|
bindsym --to-code ${mod}+a exec 'swayscript network'
|
2024-11-04 04:37:29 +03:00
|
|
|
bindsym --to-code ${mod}+c exec 'systemctl reboot -i'
|
2024-12-14 00:32:55 +03:00
|
|
|
bindsym --to-code ${mod}+d exec 'swayscript dnd'
|
2024-11-04 04:37:29 +03:00
|
|
|
bindsym --to-code ${mod}+g exec 'swayscript gaming'
|
|
|
|
bindsym --to-code ${mod}+l exec 'powerlimit toggle'
|
|
|
|
bindsym --to-code ${mod}+m exec 'swayscript monitor'
|
|
|
|
bindsym --to-code ${mod}+p exec 'powersave toggle'
|
|
|
|
bindsym --to-code ${mod}+r exec 'swayscript reload'
|
|
|
|
bindsym --to-code ${mod}+v exec 'swayscript vpn'
|
|
|
|
bindsym --to-code ${mod}+x exec 'systemctl poweroff -i'
|
|
|
|
bindsym --to-code ${mod}+z exec 'systemctl suspend -i'
|
2024-09-12 01:03:30 +03:00
|
|
|
|
2024-11-04 04:37:29 +03:00
|
|
|
bindsym --to-code ${mod}+w exec light -A ${toString brstep}
|
|
|
|
bindsym XF86MonBrightnessUp exec light -A ${toString brstep}
|
|
|
|
bindsym --to-code ${mod}+s exec light -U ${toString brstep}
|
|
|
|
bindsym XF86MonBrightnessDown exec light -U ${toString brstep}
|
|
|
|
'';
|
2024-05-09 00:20:56 +03:00
|
|
|
}
|