mirror of
https://github.com/kristoferssolo/solorice.git
synced 2026-02-04 14:42:04 +00:00
Use dotter
This commit is contained in:
7
config/waybar/scripts/dunst.sh
Normal file
7
config/waybar/scripts/dunst.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
COUNT=$(dunstctl count waiting)
|
||||
ENABLED=
|
||||
DISABLED=
|
||||
if [ "$COUNT" != 0 ]; then DISABLED=" $COUNT"; fi
|
||||
if dunstctl is-paused | grep -q "false" ; then echo $ENABLED; else echo "$DISABLED"; fi
|
||||
Reference in New Issue
Block a user