summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-05-09 10:49:23 -0400
committerAdam T. Carpenter <atc@53hor.net>2021-05-09 10:49:23 -0400
commit46d818b758a0f800e98d772025c699e7d4ce10a2 (patch)
treea31808917d4ebc6286786e4b4d47fdc23bf3a3c5
parent25eefe46230a5285c53a4bf5c63022b2458706dc (diff)
downloadscripts-46d818b758a0f800e98d772025c699e7d4ce10a2.tar.xz
scripts-46d818b758a0f800e98d772025c699e7d4ce10a2.zip
added additional weather icons for nighttime, removed uneeded ripper
-rwxr-xr-xripper.sh21
-rwxr-xr-xweather.sh16
2 files changed, 11 insertions, 26 deletions
diff --git a/ripper.sh b/ripper.sh
deleted file mode 100755
index 627012d..0000000
--- a/ripper.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-# Magically makes things work.
-sudo modprobe sg
-
-# Make sure scratch disk is available to rip to.
-mountpoint /scratch || mount /scratch || exit 1
-echo "Mounted!"
-
-# Rip discs until told otherwise.
-while :
-do
- outdir=$(mktemp -d /scratch/makemkvcon.XXXXX)
- makemkvcon -r mkv disc:0 all $outdir >> $outdir/makemkvcon.log || exit 2
- eject
- echo "Rip another? (Y/n)"
- read confirm
- [[ $confirm == "n" ]] && exit 0
- sleep 3;
-done
-
diff --git a/weather.sh b/weather.sh
index f87f7b5..37089c8 100755
--- a/weather.sh
+++ b/weather.sh
@@ -11,22 +11,28 @@ do
01d)
ICON=󰖙
;;
+ 01n)
+ ICON=󰖔
+ ;;
02d)
ICON=󰖕
;;
- 03d|04d)
+ 02n)
+ ICON=󰼱
+ ;;
+ 03*|04*)
ICON=󰖐
;;
- 09d|10d)
+ 09*|10*)
ICON=󰖗
;;
- 11d)
+ 11*)
ICON=󰖓
;;
- 13d)
+ 13*)
ICON=󰖘
;;
- 50d)
+ 50*)
ICON=󰖑
;;
esac