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 #!/bin/sh
case $1 in case $1 in
1) exec termite -e "htop -s PERCENT_CPU" ;; 1) exec "$TERMINAL" -e "htop -s PERCENT_CPU" ;;
2) exec termite -e "htop" ;; 2) exec "$TERMINAL" -e "htop" ;;
3) exec termite -e "htop -s PERCENT_MEM" ;; 3) exec "$TERMINAL" -e "htop -s PERCENT_MEM" ;;
esac esac

View file

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