dotfiles/polybar/conf.d/mod_startmenu
2022-07-21 21:57:52 +02:00

29 lines
703 B
Text

[module/startmenu]
type = custom/menu
label-open =" Start"
label-close =" Close"
label-separator = |
format-spacing = 1
menu-0-0 ="Power"
menu-0-0-exec = #startmenu.open.1
menu-0-1 ="Misc"
menu-0-1-exec = #startmenu.open.2
menu-1-0 ="shutdown"
menu-1-0-exec ="~/dotfiles/scripts/pwr.sh -s"
menu-1-1 ="restart"
menu-1-1-exec ="~/dotfiles/scripts/pwr.sh -r"
menu-1-2 ="hibernate"
menu-1-2-exec ="~/dotfiles/scripts/pwr.sh -hb"
menu-1-3 ="suspend"
menu-1-3-exec ="~/dotfiles/scripts/pwr.sh -sd"
menu-1-4 ="lock"
menu-1-4-exec ="~/dotfiles/scripts/pwr.sh"
menu-2-0 ="toggle dunst notifications"
menu-2-0-exec ="dunstctl set-paused toggle"
menu-2-1 ="fortune"
menu-2-1-exec =dunstify "$(fortune -n 50)"