Polybar add unicode symbols in menus, color change
This commit is contained in:
parent
bcaaa81ecc
commit
b9ed256dca
|
@ -3,8 +3,8 @@ monitor = ${env:MONITOR}
|
|||
width = 100%
|
||||
height = 34
|
||||
|
||||
background = #00000000
|
||||
foreground = #ccffffff
|
||||
background = #000000
|
||||
foreground = #00c24a
|
||||
|
||||
line-color = ${bar/bottom.background}
|
||||
line-size = 16
|
||||
|
@ -55,31 +55,34 @@ type = custom/menu
|
|||
|
||||
format-padding = 5
|
||||
|
||||
label-open = ䷡
|
||||
label-close = X
|
||||
label-open = ䷡
|
||||
label-close = "Ⓧ "
|
||||
|
||||
menu-0-0 = Terminate WM
|
||||
menu-0-0 = "↸ pkill poly "
|
||||
menu-0-0-foreground = #fba922
|
||||
menu-0-0-exec = bspc quit -1
|
||||
menu-0-1 = Reboot
|
||||
menu-0-0-exec = pkill -f polybar
|
||||
menu-0-1 = "⊒ i3 restart "
|
||||
menu-0-1-foreground = #fba922
|
||||
menu-0-1-exec = menu_open-1
|
||||
menu-0-2 = Power off
|
||||
menu-0-1-exec = i3 restart
|
||||
menu-0-2 = "⬡ Reboot "
|
||||
menu-0-2-foreground = #fba922
|
||||
menu-0-2-exec = menu_open-2
|
||||
menu-0-2-exec = sudo /sbin/reboot
|
||||
menu-0-3 = "⏾ Power off "
|
||||
menu-0-3-foreground = #fba922
|
||||
menu-0-3-exec = sudo poweroff
|
||||
|
||||
menu-1-0 = Cancel
|
||||
menu-1-0-foreground = #fba922
|
||||
menu-1-0-exec = menu_open-0
|
||||
menu-1-1 = Reboot
|
||||
menu-1-1-foreground = #fba922
|
||||
menu-1-1-exec = sudo reboot
|
||||
menu-1-1-foreground = #fff
|
||||
menu-1-1-exec = xterm
|
||||
|
||||
menu-2-0 = Power off
|
||||
menu-2-0-foreground = #fba922
|
||||
menu-2-0-exec = sudo poweroff
|
||||
menu-2-1 = Cancel
|
||||
menu-2-1-foreground = #fba922
|
||||
menu-2-1-foreground = #ffffff
|
||||
menu-2-1-exec = menu_open-0
|
||||
|
||||
[module/cpu]
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
# start-polybar.sh
|
||||
|
||||
# Kill any previous polybars
|
||||
pkill -f polybar
|
||||
|
||||
# For each monitor in list up to ':'
|
||||
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
||||
|
|
Loading…
Reference in New Issue