Switch to zsh instead of bash

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2019-02-13 20:40:47 +01:00
parent ca2c5b0c2b
commit 88927bbf39
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
13 changed files with 115 additions and 101 deletions

View file

@ -24,7 +24,6 @@ ACTIONS=(
action=$(zenity --list --width="${WIDTH}" --height="${HEIGHT}" --text="${TEXT}" --column="Action" "${ACTIONS[@]}")
echo "$action"
if [ "${action}" == "Reboot" ]
then
systemctl reboot
@ -34,8 +33,10 @@ then
elif [ "${action}" == "Performance Mode" ]
then
gksudo "cpupower frequency-set -g performance"
optirun -b primus nvidia-settings -a '[gpu:0]/GPUPowerMizerMode=2' -c :8 > /dev/null
elif [ "${action}" == "Powersave Mode" ]
then
gksudo "cpupower frequency-set -g powersave"
optirun -b primus nvidia-settings -a '[gpu:0]/GPUPowerMizerMode=0' -c :8 > /dev/null
fi