diff options
-rw-r--r-- | README | 4 | ||||
-rwxr-xr-x | gn.sh | 5 |
2 files changed, 4 insertions, 5 deletions
@@ -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. @@ -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="" |