Times-Z/Dunst-polybar

Polybar module for dunst history

โ˜… 7Forks 0ShellGitHub โ†—Compare
dunstpolybarpolybar-scripts

README

Dunst polybar

Polybar module for dunst history

Dependencies

  • Dunst
  • JQ

Usage

The script expects parameters :

  • display_history used to display history. If used with a number display number amount of history. Default display all.
  • close_history used to close all notification.

Example module for polybar

[module/dunst]
type = custom/text

content = "๐Ÿ””"

; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND"
click-left = ~/.config/polybar/forest/scripts/dunst.sh display-history 10
click-middle = ~/.config/polybar/forest/scripts/dunst.sh display-history
click-right = ~/.config/polybar/forest/scripts/dunst.sh close-history &

Demo

Demo gif

Contributors

Times-Z

Issues