From af900724318b2b9f5448ba622b3188eea6255d0a Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Thu, 4 Jul 2019 21:55:54 -0700 Subject: [PATCH] removed flufff changed /bin/bash to /bin/sh and updated todo's --- readme.md | 7 +++++++ sndt | 2 +- usbm | 9 --------- 3 files changed, 8 insertions(+), 10 deletions(-) delete mode 100755 usbm diff --git a/readme.md b/readme.md index 1e64294..bc224cb 100644 --- a/readme.md +++ b/readme.md @@ -17,4 +17,11 @@ Scale 0-5 bright : 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 diff --git a/sndt b/sndt index 6fbc5ca..e693517 100755 --- a/sndt +++ b/sndt @@ -1,3 +1,3 @@ -#!/bin/bash +#!/bin/sh # Shut off all sounds coming from alsa (called when locking from lock script" amixer -q -D pulse sset Master toggle diff --git a/usbm b/usbm deleted file mode 100755 index d2a40f0..0000000 --- a/usbm +++ /dev/null @@ -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)