Added option to change cpu governor
This commit is contained in:
parent
f7aa1054f0
commit
5d4dd1b565
1 changed files with 8 additions and 1 deletions
|
@ -23,10 +23,17 @@ require-service() {
|
|||
systemctl is-active --quiet $service || sysctl start $service
|
||||
}
|
||||
|
||||
case "$(menu timer screenshot wallpaper wicd ncmpcpp ssh zomnet power)" in
|
||||
case "$(menu timer cpu screenshot wallpaper wicd ncmpcpp ssh zomnet power)" in
|
||||
timer)
|
||||
exec urxvt -geometry 50x3 -e ~/.config/scripts/teatimer.sh
|
||||
;;
|
||||
cpu)
|
||||
choice=$(menu performance powersave)
|
||||
case $choice in
|
||||
performance|powersave)
|
||||
exec gksu -S -m "Setting cpu to $choice" "cpupower frequency-set -g $choice"
|
||||
esac
|
||||
;;
|
||||
screenshot)
|
||||
case "$(menu all selective)" in
|
||||
all)
|
||||
|
|
Loading…
Reference in a new issue