From 468348aea0d34160b962522340b0e030949b26bb Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 10 Nov 2021 15:35:20 +0100 Subject: [PATCH] sway: add powerprofilesctl bindings * yields more precise manual control * follow-up of 2cf6883b3c --- .config/sway/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index a45ad1c..ae9b9d5 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -218,12 +218,12 @@ bindsym $mod+Shift+v exec ferdi $mod+Shift+a exec chromium-freeworld --incognito --enable-features=UseOzonePlatform --ozone-platform=wayland --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+p exec kitty bash -c 'sudo cpupower frequency-set -g performance;figlet performance;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; 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+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+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+r exec alacritty --class ranger -e ranger }