From 46d818b758a0f800e98d772025c699e7d4ce10a2 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sun, 9 May 2021 10:49:23 -0400 Subject: added additional weather icons for nighttime, removed uneeded ripper --- ripper.sh | 21 --------------------- weather.sh | 16 +++++++++++----- 2 files changed, 11 insertions(+), 26 deletions(-) delete mode 100755 ripper.sh 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 -- cgit v1.2.3