Improved block _button scripts

This commit is contained in:
Ashish Kumar Yadav 2020-12-12 00:52:58 +05:30
parent 547bb3d699
commit 52535a44f5
2 changed files with 5 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
case $1 in
1) exec termite -e "htop -s PERCENT_CPU" ;;
2) exec termite -e "htop" ;;
3) exec termite -e "htop -s PERCENT_MEM" ;;
1) exec "$TERMINAL" -e "htop -s PERCENT_CPU" ;;
2) exec "$TERMINAL" -e "htop" ;;
3) exec "$TERMINAL" -e "htop -s PERCENT_MEM" ;;
esac

View file

@ -1,6 +1,5 @@
#!/bin/sh
case $1 in
1) pamixer --toggle-mute ;;
2) exec pavucontrol-qt ;;
3) pamixer --set-volume 60 ;;
1) pactl set-sink-mute @DEFAULT_SINK@ toggle ;;
3) pactl set-sink-volume @DEFAULT_SINK@ 50% ;;
esac