diff options
author | FivePixels <o5pxels@gmail.com> | 2022-03-16 14:46:18 -0500 |
---|---|---|
committer | FivePixels <o5pxels@gmail.com> | 2022-03-16 14:46:18 -0500 |
commit | 6c4869dbf755db4cfd3674265259b1a06d70a888 (patch) | |
tree | 38c75220ccbd1037a6cf3a8eea1c30c69f2936a4 | |
parent | 03f1c9da38316cfb3cd40151d359c658afde73b0 (diff) | |
download | gn-main.tar.xz gn-main.zip |
Add README, update gn script to remove ctrlc trapmain
-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="" |