- Fix spacing around and between windows - Add keybindings for rofi-rbw & control center - Replace keybindings for actions with rofi menu - Move system restore processes to the end of startup hook - Use scripts in ~/.scripts with command line arguments where possible - Remove unnecessary shebangs at the start of scripts - Replace polybar powermenu with clickable icon that launches rofi
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
|