extensive update: some cleanup, todo/agenda changes, publishing system, swayfx, WIPs, etc.
This commit is contained in:
@ -1,7 +1,15 @@
|
||||
inactive="{
|
||||
\"text\": \"x\",
|
||||
\"tooltip\": \"emacs is not running.\"
|
||||
}\n"
|
||||
active="{
|
||||
\"text\": \"e+\",
|
||||
\"tooltip\": \"emacs is running.\"
|
||||
}\n"
|
||||
pgrep emacs >/dev/null
|
||||
if [ $? -eq 1 ]
|
||||
then
|
||||
echo 'X'
|
||||
echo $inactive
|
||||
else
|
||||
echo 'e+'
|
||||
echo $active
|
||||
fi
|
||||
|
Reference in New Issue
Block a user