From 0f494db49594dc6a1e4403e792a73cea9a44dfe6 Mon Sep 17 00:00:00 2001 From: sils Date: Thu, 28 Sep 2023 21:08:48 +0200 Subject: feat(files/nwg-panel): add nwg-panel config --- files/nwg-panel/executors/check-notifications | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 files/nwg-panel/executors/check-notifications (limited to 'files/nwg-panel/executors/check-notifications') 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 -- cgit 1.4.1