From: Amin Bandali Date: Thu, 27 Apr 2017 21:28:55 +0000 (-0400) Subject: Customize polybar a bit X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/3e303e20740e2b1ec0328fbfeca60e4b2244781c?ds=sidebyside;hp=e6566456c87f40401d6aca731d1285b131134bbb Customize polybar a bit --- diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index f916eb5..15799aa 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -18,13 +18,13 @@ primary = #ffb52a secondary = #e60053 alert = #bd2c40 -[bar/example] +[bar/main] ;monitor = ${env:MONITOR:HDMI-1} width = 100% height = 27 ;offset-x = 1% ;offset-y = 1% -radius = 6.0 +radius = 3.0 fixed-center = false background = ${colors.background} @@ -42,33 +42,30 @@ padding-right = 2 module-margin-left = 1 module-margin-right = 2 -font-0 = fixed:pixelsize=10;1 +font-0 = Ubuntu:fontformat=truetype:antialias=true:pixelsize=9;1 font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 -font-2 = siji:pixelsize=10;1 +font-2 = Wuncon Siji:pixelsize=10;1 modules-left = bspwm -modules-center = -modules-right = filesystem xbacklight volume xkeyboard memory cpu battery temperature date powermenu +modules-center = xwindow +modules-right = volume filesystem xkeyboard memory cpu battery temperature date powermenu tray-position = right -tray-padding = 2 +;tray-padding = 2 ;tray-transparent = true ;tray-background = #0063ff +tray-maxsize = 18 -;wm-restack = bspwm -;wm-restack = i3 +wm-restack = bspwm ;override-redirect = true -;scroll-up = bspwm-desknext -;scroll-down = bspwm-deskprev - -;scroll-up = i3wm-wsnext -;scroll-down = i3wm-wsprev +scroll-up = bspwm-desknext +scroll-down = bspwm-deskprev [module/xwindow] type = internal/xwindow -label = %title:0:30:...% +label = %title:0:50:...% [module/xkeyboard] type = internal/xkeyboard @@ -182,7 +179,8 @@ bar-empty-foreground = ${colors.foreground-alt} [module/backlight-acpi] inherit = module/xbacklight type = internal/backlight -card = intel_backlight +;card = intel_backlight +card = mba6x_backlight [module/cpu] type = internal/cpu @@ -258,12 +256,12 @@ label = %date% %time% type = internal/volume format-volume = -label-volume = VOL +label-volume = vol label-volume-foreground = ${root.foreground} format-muted-prefix = " " format-muted-foreground = ${colors.foreground-alt} -label-muted = sound muted +label-muted = mute bar-volume-width = 10 bar-volume-foreground-0 = #55aa55 @@ -286,7 +284,7 @@ bar-volume-empty-foreground = ${colors.foreground-alt} type = internal/battery battery = BAT0 adapter = ADP1 -full-at = 98 +full-at = 64 format-charging = format-charging-underline = #ffb52a @@ -311,8 +309,8 @@ animation-charging-framerate = 750 [module/temperature] type = internal/temperature -thermal-zone = 0 -warn-temperature = 60 +thermal-zone = 1 +warn-temperature = 66 format =