mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-23 20:34:46 +02:00
polybar: display dunst state for notifications
This commit is contained in:
parent
80c4605916
commit
295e13f1c4
2 changed files with 50 additions and 2 deletions
|
@ -34,11 +34,11 @@ modules-center = date
|
|||
|
||||
[bar/alone]
|
||||
inherit = bar/common
|
||||
modules-right = cpu memory brightness battery network disk pulseaudio
|
||||
modules-right = cpu memory brightness battery network disk dunst pulseaudio
|
||||
|
||||
[bar/primary]
|
||||
inherit = bar/common
|
||||
modules-right = cpu memory brightness battery network disk pulseaudio
|
||||
modules-right = cpu memory brightness battery network disk dunst pulseaudio
|
||||
|
||||
[bar/secondary]
|
||||
inherit = bar/common
|
||||
|
@ -106,6 +106,12 @@ type = custom/ipc
|
|||
hook-0 = cat $XDG_RUNTIME_DIR/i3/network.txt 2> /dev/null
|
||||
initial = 1
|
||||
|
||||
[module/dunst]
|
||||
type = custom/ipc
|
||||
hook-0 = cat $XDG_RUNTIME_DIR/i3/dunst.txt 2> /dev/null
|
||||
initial = 1
|
||||
click-left = dunstctl set-paused toggle
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue