sway: add powerprofilesctl bindings

* yields more precise manual control
* follow-up of 2cf6883b3c
This commit is contained in:
surtur 2021-11-10 15:35:20 +01:00
parent 2cf6883b3c
commit 468348aea0
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -218,12 +218,12 @@ bindsym
$mod+Shift+v exec ferdi $mod+Shift+v exec ferdi
$mod+Shift+a exec chromium-freeworld --incognito --enable-features=UseOzonePlatform --ozone-platform=wayland $mod+Shift+a exec chromium-freeworld --incognito --enable-features=UseOzonePlatform --ozone-platform=wayland
--locked $mod+Escape exec systemctl suspend -i --locked $mod+Escape exec systemctl suspend -i
$mod+Shift+o exec kitty bash -c 'sudo cpupower frequency-set -g powersave;figlet powersave;sleep 2' $mod+Shift+o exec kitty bash -c 'sudo cpupower frequency-set -g powersave; powerprofilesctl set power-saver; powerprofilesctl|grep "*"; sleep 1'
$mod+Shift+p exec kitty bash -c 'sudo cpupower frequency-set -g performance;figlet performance;sleep 2' $mod+Shift+p exec kitty bash -c 'sudo cpupower frequency-set -g performance; powerprofilesctl set performance; powerprofilesctl|grep "*"; sleep 1'
--locked $mod+ctrl+Shift+s exec kitty bash -c 'sudo dell-bios-fan-control 0;sudo i8kfan 0 0' --locked $mod+ctrl+Shift+s exec kitty bash -c 'sudo dell-bios-fan-control 0;sudo i8kfan 0 0'
--locked $mod+ctrl+Shift+d exec kitty bash -c 'sudo dell-bios-fan-control 0;sudo i8kfan 0 1' --locked $mod+ctrl+Shift+d exec kitty bash -c 'sudo dell-bios-fan-control 0;sudo i8kfan 0 1'
--locked $mod+ctrl+Shift+f exec kitty bash -c 'sudo dell-bios-fan-control 0;sudo i8kfan 0 2' --locked $mod+ctrl+Shift+f exec kitty bash -c 'sudo dell-bios-fan-control 0;sudo i8kfan 0 2'
--locked $mod+ctrl+Shift+b exec kitty bash -c 'sudo dell-bios-fan-control 1' --locked $mod+ctrl+Shift+b exec kitty bash -c 'sudo dell-bios-fan-control 1; powerprofilesctl set balanced; powerprofilesctl|grep "*"'
$mod+ctrl+Shift+a exec ~/.local/bin/keepmenu $mod+ctrl+Shift+a exec ~/.local/bin/keepmenu
$mod+Ctrl+r exec alacritty --class ranger -e ranger $mod+Ctrl+r exec alacritty --class ranger -e ranger
} }