polybar powermenu

This commit is contained in:
2020-01-28 22:56:55 +01:00
parent 99cfef8d01
commit 3b0bc2feb9

View File

@ -65,7 +65,7 @@ font-1 = RobotoMono Nerd Font:antialias=true:size=6;2
font-2 = RobotoMono Nerd Font:antialias=false:size=14;2
modules-left = s7 s4 i3 s5 xwindow
modules-center =
modules-right = s4 cpu s1 memory s1 temperature s1 date s5 powermenu s6
modules-right = s4 cpu s1 memory s1 temperature s1 date s5
;tray-position = right
;tray-padding = 0
@ -121,7 +121,7 @@ font-3 - RobotoMono Nerd Font:antialias=true:size=18;0
modules-left = s4 battery s3 s4 wlan s3 s4 mpd s3
modules-center =
; pulseaudio
modules-right = s4 spotify s1 pulseaudio s3
modules-right = s4 powermenu s1 pulseaudio s3
tray-position = right
tray-padding = 0
@ -593,26 +593,38 @@ type = custom/menu
expand-right = true
format-spacing = 1
format-spacing = 0
label-open ="  "
label-open-foreground = ${bar/example.background}
label-close =  x
label-close-foreground = ${bar/example.background}
label-open-foreground = ${colors.background}
label-close =" x"
label-close-foreground = ${colors.background}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
label-open-background= ${bar/example.background}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
label-separator-background = ${colors.primary}
label-open-background= ${colors.primary}
label-close-background= ${colors.primary}
menu-0-0 = 
menu-0-0-background = ${colors.primary}
menu-0-0-foreground = ${colors.background}
menu-0-0-exec = thunderbird
menu-0-1 = 
menu-0-1-background = ${colors.primary}
menu-0-1-foreground = ${colors.background}
menu-0-1-exec = nautilus
menu-1-0 = cancel
menu-1-0-background = ${colors.primary}
menu-1-0-foreground = ${colors.background}
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-background = ${colors.primary}
menu-2-0-foreground = ${colors.background}
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0