Change dash to sh in shebang

This commit is contained in:
Ashish Kumar Yadav 2020-07-18 17:30:48 +05:30
parent 954b4867ff
commit 8f98073c9b
12 changed files with 12 additions and 12 deletions

View file

@ -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}%"

View file

@ -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" ;;

View file

@ -1,2 +1,2 @@
#!/bin/dash #!/bin/sh
echo "$(date '+%a, %d %b')" echo "$(date '+%a, %d %b')"

View file

@ -1,4 +1,4 @@
#!/bin/dash #!/bin/sh
case "$1" in case "$1" in
1) ;; 1) ;;
2) ;; 2) ;;

View file

@ -1,4 +1,4 @@
#!/bin/dash #!/bin/sh
crit=70 crit=70

View file

@ -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" ;;

View file

@ -1,4 +1,4 @@
#!/bin/dash #!/bin/sh
if [ "$1" = 1 ] ; then if [ "$1" = 1 ] ; then
echo "" echo ""
else else

View file

@ -1,4 +1,4 @@
#!/bin/dash #!/bin/sh
case "$1" in case "$1" in
1|2|3) ;; 1|2|3) ;;
esac esac

View file

@ -1,2 +1,2 @@
#!/bin/dash #!/bin/sh
echo "$(date '+%H:%M')" echo "$(date '+%H:%M')"

View file

@ -1,4 +1,4 @@
#!/bin/dash #!/bin/sh
volstat=$(pamixer --get-mute --get-volume) volstat=$(pamixer --get-mute --get-volume)

View file

@ -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 ;;

View file

@ -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