Polybar: powermenu ausgebaut
This commit is contained in:
parent
9474ba7a8a
commit
b25966b0d3
2 changed files with 3 additions and 29 deletions
|
@ -1,26 +0,0 @@
|
||||||
[module/powermenu]
|
|
||||||
type = custom/menu
|
|
||||||
expand-right = true
|
|
||||||
format-spacing = 1
|
|
||||||
label-open =
|
|
||||||
label-open-foreground = ${colors.secondary}
|
|
||||||
label-close = cancel
|
|
||||||
label-close-foreground = ${colors.secondary}
|
|
||||||
label-separator = |
|
|
||||||
label-separator-foreground = ${colors.foreground-alt}
|
|
||||||
menu-0-0 = reboot
|
|
||||||
menu-0-0-exec = #powermenu.open.1
|
|
||||||
menu-0-1 = power off
|
|
||||||
menu-0-1-exec = #powermenu.open.2
|
|
||||||
menu-0-2 = suspend
|
|
||||||
menu-0-2-exec = #powermenu.open.3
|
|
||||||
menu-0-3 = hibernate
|
|
||||||
menu-0-3-exec = #powermenu.open.4
|
|
||||||
menu-1-0 = reboot
|
|
||||||
menu-1-0-exec = reboot
|
|
||||||
menu-2-0 = power off
|
|
||||||
menu-2-0-exec = poweroff
|
|
||||||
menu-3-0 = suspend
|
|
||||||
menu-3-0-exec = i3lock --ignore-empty-password --color 000000 && systemctl suspend
|
|
||||||
menu-4-0 = hibernate
|
|
||||||
menu-4-0-exec = i3lock --ignore-empty-password --color 000000 && systemctl hibernate
|
|
|
@ -23,7 +23,7 @@ margin-bottom = 5
|
||||||
inherit = bar/defaults
|
inherit = bar/defaults
|
||||||
modules-left = i3
|
modules-left = i3
|
||||||
modules-center =
|
modules-center =
|
||||||
modules-right = alsa backlight cpu system-cpu-loadavg memory df battery time powermenu
|
modules-right = alsa backlight cpu system-cpu-loadavg memory df battery time
|
||||||
tray-position = right
|
tray-position = right
|
||||||
tray-padding = 2
|
tray-padding = 2
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue