removed flufff changed /bin/bash to /bin/sh and updated todo's

This commit is contained in:
shockrahwow 2019-07-04 21:55:54 -07:00
parent f3b2f371d1
commit af90072431
3 changed files with 8 additions and 10 deletions

View File

@ -17,4 +17,11 @@ Scale 0-5
bright bright
: Remove some bashism that the script is heavily reliant on : Remove some bashism that the script is heavily reliant on
usbm
: Actually finishing the userland mount script
wed
: Remove bashism's from wifi enabler/disabler
ytdl
: Remove bashism's from ytdl script

2
sndt
View File

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/sh
# Shut off all sounds coming from alsa (called when locking from lock script" # Shut off all sounds coming from alsa (called when locking from lock script"
amixer -q -D pulse sset Master toggle amixer -q -D pulse sset Master toggle

9
usbm
View File

@ -1,9 +0,0 @@
#!/bin/bash
# Mounting script for usb drives for use in dmenu
mountable=$(lsblk -lp | grep "part $" | awk '{print $1, $4 }')
[ -z "$mountable" ] && exit 0
usb=$(echo "$mountable" |\
dmenu -i -l 5 -p "Which usb drive should we mount?" |\
awk '{print $1}')
mkdir -p ~/.mntpts
mount $(basename $usb) ~/.mntpts/$(basename $usb)