Add aggitime watchscript, stumpwm start aggietimed

This commit is contained in:
Lizzy Hunt 2023-02-28 12:35:55 -07:00
parent 14c11e131b
commit a7b1db72e6
No known key found for this signature in database
GPG Key ID: 8AC6A4B840C0EC49
3 changed files with 19 additions and 1 deletions

View File

@ -20,4 +20,6 @@
;; Follow focus on mouse hover ;; Follow focus on mouse hover
(setq *mouse-focus-policy* :sloppy) (setq *mouse-focus-policy* :sloppy)
(when (is-work-machine)
(run-shell-command "~/scripts/watch_aggietimed.sh"))
(run-shell-command "dunst") (run-shell-command "dunst")

@ -1 +1 @@
Subproject commit 6d4584f01dec0143a169186df1608860d1aa1ef0 Subproject commit 19c231b2518efe71cb6dade3ad4cf573377902c3

16
scripts/watch_aggietimed.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
socket=/tmp/aggietimed.sock
while true
do
aggietimed -d --socket-path $socket
if [ $? -eq 0 ]
then
break
else
rm $socket
sleep 1
fi
done