- Wrote entire dwm-flexipatch build as org document - Moved README and README.md into README.org - Setup keybindings, colors, etc. for dwm-flexipatch
17 lines
316 B
Bash
Executable File
17 lines
316 B
Bash
Executable File
#!/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
|