Adding my personal blocks
parent
d97732daf9
commit
93c80d538a
@ -0,0 +1,6 @@
|
||||
#!/bin/dash
|
||||
case "$1" in
|
||||
1) exec termite -e "htop -s PERCENT_CPU" ;;
|
||||
2) exec termite -e "htop" ;;
|
||||
3) exec termite -e "htop -s PERCENT_MEM" ;;
|
||||
esac
|
@ -0,0 +1,6 @@
|
||||
#!/bin/dash
|
||||
case "$1" in
|
||||
1) exec termite -e "htop -s PERCENT_CPU" ;;
|
||||
2) exec termite -e "htop" ;;
|
||||
3) exec termite -e "htop -s PERCENT_MEM" ;;
|
||||
esac
|
@ -0,0 +1,6 @@
|
||||
#!/bin/dash
|
||||
case "$1" in
|
||||
1) exec termite -e "htop -s PERCENT_CPU" ;;
|
||||
2) exec termite -e "htop" ;;
|
||||
3) exec termite -e "htop -s PERCENT_MEM" ;;
|
||||
esac
|
@ -0,0 +1,6 @@
|
||||
#!/bin/dash
|
||||
if [ "$1" = 1 ] ; then
|
||||
echo ""
|
||||
else
|
||||
echo ""
|
||||
fi
|
@ -0,0 +1,4 @@
|
||||
#!/bin/dash
|
||||
case "$1" in
|
||||
1|2|3) echo "turn off hotspot" ;;
|
||||
esac
|
@ -0,0 +1,6 @@
|
||||
#!/bin/dash
|
||||
case "$1" in
|
||||
1) setsid -f termite -e "htop -s PERCENT_CPU" ;;
|
||||
2) setsid -f termite -e "htop" ;;
|
||||
3) setsid -f termite -e "htop -s PERCENT_MEM" ;;
|
||||
esac
|
@ -0,0 +1,7 @@
|
||||
#!/bin/dash
|
||||
pactl subscribe |
|
||||
while read -r output ; do
|
||||
if [ -z "${output##*sink *}" ] ; then
|
||||
sigdsblocks 1
|
||||
fi
|
||||
done
|
@ -0,0 +1,6 @@
|
||||
#!/bin/dash
|
||||
case "$1" in
|
||||
1) pamixer --toggle-mute ;;
|
||||
2) exec pavucontrol-qt ;;
|
||||
3) pamixer --set-volume 60 ;;
|
||||
esac
|
Loading…
Reference in New Issue