- Remove unneeded imports - Move global tangle path to individual code blocks - Add docks hook to avoid polybar when tiling - Add dwm-style workspace cycling - Fix keybindings to put ctrl before shift - Reset window sizes when force re-tiling - Add ewmhDesktopsEventHook to myEventHook for polybar integration - Launch polybar instead of xmobar - No tangle xmobar config and delete it - Add polybar config from dwm with bunch of tweaks
19 lines
329 B
Bash
Executable File
19 lines
329 B
Bash
Executable File
#!/bin/bash
|
|
#!/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
|