2024-06-24 13:36:10 +03:00
|
|
|
{ config, ... }: let
|
|
|
|
mod = config.setting.sysctrl;
|
2024-05-09 00:20:56 +03:00
|
|
|
in {
|
|
|
|
text = ''
|
2024-05-21 23:12:25 +03:00
|
|
|
bindsym ${mod}+c exec 'systemctl reboot -i'
|
2024-05-09 00:20:56 +03:00
|
|
|
bindsym ${mod}+l exec 'powerlimit toggle'
|
|
|
|
bindsym ${mod}+m exec 'swayscript montoggle'
|
|
|
|
bindsym ${mod}+p exec 'powersave toggle'
|
|
|
|
bindsym ${mod}+v exec 'swayscript vrrtoggle'
|
|
|
|
bindsym ${mod}+x exec 'systemctl poweroff -i'
|
|
|
|
bindsym ${mod}+z exec 'systemctl suspend -i'
|
|
|
|
'';
|
|
|
|
}
|