power menu, redshift, polybar
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$1" in
|
||||
--toggle)
|
||||
if [ "$(pgrep dropbox)" ]; then
|
||||
pkill -f dropbox
|
||||
else
|
||||
dropbox &
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if [ "$(pgrep dropbox)" ]; then
|
||||
echo "#1"
|
||||
else
|
||||
echo "#2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user