Skip to content

JeanEdouardKevin/dunst-polybar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dunst-polybar

Dunst notifications switch module for Polybar

module

Dependencies

Usage

Write the given module to your polybar config, make sure enable-ipc = true

[module/dunst]
type = custom/ipc
initial = 1
format-foreground = ${colors.yellow}

hook-0 = echo "%{A1:dunstctl set-paused true && polybar-msg hook dunst 2:}%{A}" &
hook-1 = echo "%{A1:dunstctl set-paused false && polybar-msg hook dunst 1:}%{A}" &

Customization

You can change the icons in hook-0 and hook-1 (between theses two caracters: }"Insert icon here"%). You can also change the color of the icon by modifying format-foreground

About

A Dunst module for Polybar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published