dotfiles/polybar/conf.d/mod_startmenu

32 lines
837 B
Text
Raw Normal View History

2022-07-21 16:22:45 +02:00
[module/startmenu]
type = custom/menu
2022-07-21 22:27:59 +02:00
format-full-prefix-foreground = ${colors.darkgrey}
2022-07-21 21:47:20 +02:00
label-open =" Start "
label-close =" Close "
2022-07-21 22:27:59 +02:00
label-open-background = ${colors.green}
label-close-background = ${colors.orange}
2022-07-21 16:22:45 +02:00
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"
2022-07-21 21:57:52 +02:00
menu-2-1 ="fortune"
menu-2-1-exec =dunstify "$(fortune -n 50)"