diff --git a/etc/soft/polybar/polybar.conf b/etc/soft/polybar/config similarity index 81% rename from etc/soft/polybar/polybar.conf rename to etc/soft/polybar/config index 5a952b8..ac52118 100644 --- a/etc/soft/polybar/polybar.conf +++ b/etc/soft/polybar/config @@ -27,14 +27,19 @@ primary = #ffb52a secondary = #e60053 alert = #bd2c40 -green = #008000 -yellow = #FF8C00 +green = #008000 +yellow = #FF8C00 +magenta = #B217B2 +cyan = #00B0B0 [bar/main] -wm-name = Conky -; monitor = ${env:MONITOR:HDMI-1} +wm-name = Bar + +wm-restack = bspwm + +monitor = ${env:MONITOR:eDP1} width = 100% -height = 18 +height = 22 fixed-center = false background = ${colors.background} @@ -46,22 +51,26 @@ line-size = 2 border-size = 0 border-color = ${colors.background} -padding-left = 0 +padding-left = 1 padding-right = 1 module-margin-left = 1 module-margin-right = 1 ;font-0 = fixed:pixelsize=10;1 -font-0 = DejaVuSansMono Nerd Font Mono:size=9 -font-1 = DejaVuSansMono Nerd Font Mono:size=9 -font-2 = DejaVuSansMono Nerd Font Mono:size=9 +;font-0 = DejaVuSansMono Nerd Font Mono:size=9 +;font-1 = DejaVuSansMono Nerd Font Mono:size=9 +;font-2 = DejaVuSansMono Nerd Font Mono:size=9 ;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 ;font-2 = siji:pixelsize=10;1 +font-0 = NotoMono Nerd Font:size=12 +font-1 = NotoMono Nerd Font:size=12 +font-2 = NotoMono Nerd Font:size=12 + modules-left = desktop modules-center = filesystem -modules-right = bdays webcheck battery mail xkeyboard alsa date +modules-right = bdays webcheck mail battery backlight alsa xkeyboard date separator = | @@ -74,12 +83,25 @@ cursor-click = pointer cursor-scroll = ns-resize [module/desktop] -type = internal/xworkspaces +;type = internal/xworkspaces +type = internal/bspwm + +pin-workspaces = false +inline-mode = true + +enable-click = true + +fuzy-match = true -label-active-foreground = #B22222 +format = " | " -label-active-underline = ${colors.alert} -label-empty-underline = ${colors.alert} +label-monitor =  + +label-focused-foreground = #B22222 +label-urgent-foreground = ${colors.alert} + +;label-focused-underline = ${colors.alert} +;label-empty-underline = ${colors.alert} [module/delimiter] type = custom/text @@ -197,6 +219,18 @@ animation-charging-2 =  animation-charging-foreground = ${colors.green} animation-charging-framerate = 750 +[module/backlight] +type = internal/backlight +card = intel_backlight + +enable-scroll = true + +label =  %percentage%% + +;label-padding = 2 +;label-margin = 1 +label-underline = ${colors.cyan} + [settings] screenchange-reload = true ;compositing-background = xor