summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-28 22:05:52 -0600
committerzachir <zachir@librem.one>2023-02-28 22:05:52 -0600
commitdf2356a3639c1262e6ea6534e6c69b0325514036 (patch)
tree93a9af84009dc27021fb386a83e788671f136757
parent20d778c95e7ea5f41e12f1b2f2d8d7a3c8de4abe (diff)
fix dmenu misspelling (there is no dmene=)
-rwxr-xr-xbm2
-rwxr-xr-xbsc2
-rwxr-xr-xfdc2
-rwxr-xr-xffc2
-rwxr-xr-xlwc2
-rwxr-xr-xqbc2
-rwxr-xr-xsonggrab14
7 files changed, 20 insertions, 6 deletions
diff --git a/bm b/bm
index c963fac..5e554b0 100755
--- a/bm
+++ b/bm
@@ -84,7 +84,7 @@ if [ -z "$DMENU" ]; then
if [ -n "$WAYLAND_DISPLAY" ]; then
DMENU="bemenu"
elif [ -n "$DISPLAY" ]; then
- DMENU="dmene"
+ DMENU="dmenu"
else
print "Can't tell if Wayland or X; what gives?\n"
exit 1
diff --git a/bsc b/bsc
index 5fec72b..1191309 100755
--- a/bsc
+++ b/bsc
@@ -26,7 +26,7 @@ if [ -z "$DMENU" ]; then
if [ -n "$WAYLAND_DISPLAY" ]; then
DMENU="bemenu"
elif [ -n "$DISPLAY" ]; then
- DMENU="dmene"
+ DMENU="dmenu"
else
print "Can't tell if Wayland or X; what gives?\n"
exit 1
diff --git a/fdc b/fdc
index 3c3a6bf..8ad1e93 100755
--- a/fdc
+++ b/fdc
@@ -26,7 +26,7 @@ if [ -z "$DMENU" ]; then
if [ -n "$WAYLAND_DISPLAY" ]; then
DMENU="bemenu"
elif [ -n "$DISPLAY" ]; then
- DMENU="dmene"
+ DMENU="dmenu"
else
print "Can't tell if Wayland or X; what gives?\n"
exit 1
diff --git a/ffc b/ffc
index 117523c..ac83c56 100755
--- a/ffc
+++ b/ffc
@@ -26,7 +26,7 @@ if [ -z "$DMENU" ]; then
if [ -n "$WAYLAND_DISPLAY" ]; then
DMENU="bemenu"
elif [ -n "$DISPLAY" ]; then
- DMENU="dmene"
+ DMENU="dmenu"
else
print "Can't tell if Wayland or X; what gives?\n"
exit 1
diff --git a/lwc b/lwc
index 29daf45..9313cf8 100755
--- a/lwc
+++ b/lwc
@@ -26,7 +26,7 @@ if [ -z "$DMENU" ]; then
if [ -n "$WAYLAND_DISPLAY" ]; then
DMENU="bemenu"
elif [ -n "$DISPLAY" ]; then
- DMENU="dmene"
+ DMENU="dmenu"
else
print "Can't tell if Wayland or X; what gives?\n"
exit 1
diff --git a/qbc b/qbc
index e96ab84..4cddfc5 100755
--- a/qbc
+++ b/qbc
@@ -26,7 +26,7 @@ if [ -z "$DMENU" ]; then
if [ -n "$WAYLAND_DISPLAY" ]; then
DMENU="bemenu"
elif [ -n "$DISPLAY" ]; then
- DMENU="dmene"
+ DMENU="dmenu"
else
print "Can't tell if Wayland or X; what gives?\n"
exit 1
diff --git a/songgrab b/songgrab
index 879baac..82040e4 100755
--- a/songgrab
+++ b/songgrab
@@ -12,6 +12,19 @@ for i in $@; do
[ -n "$GETTRACKNUM" ] && TRACKNUM="$i" && unset GETTRACKNUM
[ -n "$GETYEAR" ] && YEAR="$i" && unset GETYEAR
case "$i" in
+ "-h")
+ printf "Grabs music (either individual songs or albums) and formats it.\n"
+ printf "\n"
+ printf " -s | downloads and formats a single song.\n"
+ printf " -l | downloads and formats a whole album.\n"
+ printf " -p | downloads and formats an album (via a playlist).\n"
+ printf " -u | the url to download.\n"
+ printf " -a | the artist name (to tag every song with).\n"
+ printf " -A | the album name (to tag every song with).\n"
+ printf " -t | the title of the song (if downloading a single song).\n"
+ printf " -T | the number of the track in its album (if downloading a single song).\n"
+ printf " -y | the year of release.\n"
+ exit 0 ;;
"-s")
SPLITTER_SELECTION="s"
;;
@@ -45,6 +58,7 @@ done
ARTIST=`echo $ARTIST | sed 's/^ //'`
ALBUM=`echo $ALBUM | sed 's/^ //'`
TITLE=`echo $TITLE | sed 's/^ //'`
+
printf "Received Tags:
Artist: $ARTIST
Album: $ALBUM