summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README4
-rwxr-xr-xgn.sh5
2 files changed, 4 insertions, 5 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..09feffa
--- /dev/null
+++ b/README
@@ -0,0 +1,4 @@
+gn script
+Dylan Bolger
+
+script that I run to make my computer go goodnight. will update all packages on machine and if currently playing a song, will wait until that song completes before shutting down. only supports spotify atm.
diff --git a/gn.sh b/gn.sh
index 8640e98..bd307ff 100755
--- a/gn.sh
+++ b/gn.sh
@@ -11,11 +11,6 @@ performUpdates() {
sudo pacman -Syu --noconfirm && yay -Sua
}
-handleCtrlC() {
- kill $pid
- exit 1
-}
-
pingForSongChanges() {
# https://gist.github.com/red-noise/9789642
title=""