Patched DWM Flexipatch Build
- Wrote entire dwm-flexipatch build as org document - Moved README and README.md into README.org - Setup keybindings, colors, etc. for dwm-flexipatch
This commit is contained in:
16
polybar/scripts/dunst-notification-status.sh
Executable file
16
polybar/scripts/dunst-notification-status.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# Check if dunst is running
|
||||
if pgrep -x "dunst" > /dev/null
|
||||
then
|
||||
is_paused=$(dunstctl is-paused)
|
||||
|
||||
if [[ $is_paused == 'false' ]]; then
|
||||
status_icon=" on"
|
||||
elif [[ $is_paused == 'true' ]]; then
|
||||
status_icon=" off"
|
||||
fi
|
||||
else
|
||||
status_icon=" off"
|
||||
fi
|
||||
|
||||
echo $status_icon
|
Reference in New Issue
Block a user