summary refs log tree commit diff stats
path: root/files/nwg-panel/executors/check-notifications
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-09-28 21:08:48 +0200
committersils <sils@sils.li>2023-09-28 21:08:48 +0200
commit0f494db49594dc6a1e4403e792a73cea9a44dfe6 (patch)
tree0890c841619438421e6a71210aa9228ceaaffdd4 /files/nwg-panel/executors/check-notifications
parentfeat(u/sils/xdg): add element-desktop as handler for element events (diff)
downloadnix-config-0f494db49594dc6a1e4403e792a73cea9a44dfe6.tar.gz
nix-config-0f494db49594dc6a1e4403e792a73cea9a44dfe6.zip
feat(files/nwg-panel): add nwg-panel config
Diffstat (limited to 'files/nwg-panel/executors/check-notifications')
-rwxr-xr-xfiles/nwg-panel/executors/check-notifications8
1 files changed, 8 insertions, 0 deletions
diff --git a/files/nwg-panel/executors/check-notifications b/files/nwg-panel/executors/check-notifications
new file mode 100755
index 0000000..3014880
--- /dev/null
+++ b/files/nwg-panel/executors/check-notifications
@@ -0,0 +1,8 @@
+#!/nix/store/vqvj60h076bhqj6977caz0pfxs6543nb-bash-5.2-p15/bin/bash
+
+a=$(swaync-client -c)
+
+if [ "$a" -gt "0" ]; then
+  echo bell
+  echo $a
+fi
\ No newline at end of file