Add aggitime watchscript, stumpwm start aggietimed
This commit is contained in:
parent
14c11e131b
commit
a7b1db72e6
@ -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
16
scripts/watch_aggietimed.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user