Add do-not-disturb module

This commit is contained in:
2021-10-23 21:57:30 +03:00
parent 0f932888d1
commit 4b6644bc68
3 changed files with 16 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
"modules-right": [
"custom/weather",
"custom/pacman-updates",
"custom/dnd",
"pulseaudio",
"sway/language",
"network",
@@ -43,6 +44,12 @@
"on-click": "alacritty -e sudo pacman -Syu",
"tooltip": false
},
"custom/dnd": {
"exec": "$HOME/dotfiles/bin/dnd",
"on-click": "dunstctl set-paused toggle",
"restart-interval": 0,
"tooltip": false
},
"pulseaudio": {
"tooltip": false,
"format-muted": "MUTE"

View File

@@ -38,6 +38,7 @@ window#waybar {
color: @primary;
}
#custom-dnd,
#custom-player,
#custom-weather,
#custom-pacman-updates,