Change dash to sh in shebang
This commit is contained in:
parent
954b4867ff
commit
8f98073c9b
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
read -r capacity </sys/class/power_supply/BAT0/capacity
|
read -r capacity </sys/class/power_supply/BAT0/capacity
|
||||||
echo "${capacity}%"
|
echo "${capacity}%"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
case "$1" in
|
case "$1" in
|
||||||
1) exec termite -e "htop -s PERCENT_CPU" ;;
|
1) exec termite -e "htop -s PERCENT_CPU" ;;
|
||||||
2) exec termite -e "htop" ;;
|
2) exec termite -e "htop" ;;
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
echo "$(date '+%a, %d %b')"
|
echo "$(date '+%a, %d %b')"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
case "$1" in
|
case "$1" in
|
||||||
1) ;;
|
1) ;;
|
||||||
2) ;;
|
2) ;;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
|
|
||||||
crit=70
|
crit=70
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
case "$1" in
|
case "$1" in
|
||||||
1) exec termite -e "htop -s PERCENT_CPU" ;;
|
1) exec termite -e "htop -s PERCENT_CPU" ;;
|
||||||
2) exec termite -e "htop" ;;
|
2) exec termite -e "htop" ;;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
if [ "$1" = 1 ] ; then
|
if [ "$1" = 1 ] ; then
|
||||||
echo ""
|
echo ""
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
case "$1" in
|
case "$1" in
|
||||||
1|2|3) ;;
|
1|2|3) ;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
echo "$(date '+%H:%M')"
|
echo "$(date '+%H:%M')"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
|
|
||||||
volstat=$(pamixer --get-mute --get-volume)
|
volstat=$(pamixer --get-mute --get-volume)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
case "$1" in
|
case "$1" in
|
||||||
1) pamixer --toggle-mute ;;
|
1) pamixer --toggle-mute ;;
|
||||||
2) exec pavucontrol-qt ;;
|
2) exec pavucontrol-qt ;;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/dash
|
#!/bin/sh
|
||||||
pactl subscribe |
|
pactl subscribe |
|
||||||
while read -r output ; do
|
while read -r output ; do
|
||||||
if [ -z "${output##*sink *}" ] ; then
|
if [ -z "${output##*sink *}" ] ; then
|
||||||
|
|
Loading…
Reference in a new issue