summaryrefslogtreecommitdiffstats
path: root/polybar
diff options
context:
space:
mode:
Diffstat (limited to 'polybar')
-rw-r--r--polybar/.config/polybar/config42
-rwxr-xr-xpolybar/.local/bin/launch-polybar2
2 files changed, 21 insertions, 23 deletions
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> <bar-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 = <animation-charging> <label-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 = <ramp> <label>
format-underline = #f50a4d
@@ -364,6 +362,6 @@ screenchange-reload = true
[global/wm]
margin-top = 5
-margin-bottom = 5
+margin-bottom = 0
; vim:ft=dosini
diff --git a/polybar/.local/bin/launch-polybar b/polybar/.local/bin/launch-polybar
index 49d56ca..4fcd323 100755
--- a/polybar/.local/bin/launch-polybar
+++ b/polybar/.local/bin/launch-polybar
@@ -7,6 +7,6 @@ killall -q polybar
while pgrep -x polybar >/dev/null; do sleep 1; done
# Launch main bar
-polybar example &
+polybar main &
echo "Bars launched..."