Add optional service widgets on shell refresh
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# omarchy:summary=Check whether Dropbox is installed and running
|
||||
# omarchy:hidden=true
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
if omarchy-cmd-present dropbox-cli && dropbox-cli running >/dev/null 2>&1; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
pgrep -x dropbox >/dev/null 2>&1
|
||||
Reference in New Issue
Block a user