diff --git a/polybar b/polybar index adf053d..3c06f4a 100644 --- a/polybar +++ b/polybar @@ -1,305 +1,275 @@ -;===================================================== -; -; To learn more about how to configure Polybar -; go to https://github.com/jaagr/polybar -; -; The README contains alot of information -; -;===================================================== - -[colors] -background = ${xrdb:color0:#000} -;background = #88000000 -background-alt = #444444 -;foreground = ${xrdb:color7:#222} -foreground = #ffffff -foreground-alt = #aaaaaa -primary = #0a6cf5 -secondary = #e60053 -tertiary = #ffb52a -alert = #bd2c40 - [bar/top] -;monitor = ${env:MONITOR:HDMI-1} +; monitor = eDP-1 width = 100% -height = 25 -;offset-x = 1% -;offset-y = 1% -radius = 0.0 -fixed-center = false +height = 34 -background = ${colors.background} -foreground = ${colors.foreground} +background = #00000000 +foreground = #eeffffff +line-color = ${bar/top.background} line-size = 2 -line-color = #f00 - -border-size = 0 -border-color = #00000000 - -padding-left = 2 -padding-right = 2 - -module-margin-left = 2 -module-margin-right = 2 -font-0 = Iosevka Nerd Font:fontformat=truetype:size=8;0 -font-1 = siji:pixelsize=10;1 +spacing = 1 +padding-right = 3 +module-margin = 2 -modules-left = workspace xwindow -modules-center = -modules-right = filesystem volume xkeyboard memory cpu wlan eth battery temperature date powermenu +font-0 = Iosevka Nerd Font:size=8; +font-1 = Iosevka Nerd Font:size=10; -tray-position = right -tray-padding = 0 -; tray-background = ${root.background} +modules-left = i3 mpd +modules-right = backlight temperature cpu memory volume wireless-network wired-network battery date powermenu -[module/xwindow] -type = internal/xwindow -label = %title:0:30:...% +[module/backlight] +type = internal/xbacklight +format = -[module/xkeyboard] -type = internal/xkeyboard -blacklist-0 = num lock +ramp-0 =  +ramp-1 =  +ramp-2 =  -format-prefix = " " -format-prefix-foreground = ${colors.foreground-alt} -format-prefix-underline = ${colors.secondary} +bar-width = 10 +bar-indicator = | +bar-indicator-font = 2 +bar-indicator-foreground = #ff +bar-fill = ─ +bar-fill-font = 2 +bar-fill-foreground = #c9665e +bar-empty = ─ +bar-empty-font = 2 +bar-empty-foreground = #44 -label-layout = %name% -label-layout-underline = ${colors.secondary} +[module/battery] +type = internal/battery +full-at = 98 -label-indicator-padding = 2 -label-indicator-margin = 1 -label-indicator-background = ${colors.secondary} -label-indicator-underline = ${colors.secondary} +format-charging = +format-discharging = +format-full = + +ramp-capacity-0 =  +ramp-capacity-0-foreground = #f53c3c +ramp-capacity-1 =  +ramp-capacity-1-foreground = #ffa900 +ramp-capacity-2 =  +ramp-capacity-3 =  +ramp-capacity-4 =  + +bar-capacity-width = 10 +bar-capacity-format = %{+u}%{+o}%fill%%empty%%{-u}%{-o} +bar-capacity-fill = █ +bar-capacity-fill-foreground = #ddffffff +bar-capacity-fill-font = 2 +bar-capacity-empty = █ +bar-capacity-empty-font = 2 +bar-capacity-empty-foreground = #44ffffff + +animation-charging-0 =  +animation-charging-1 =  +animation-charging-2 =  +animation-charging-3 =  +animation-charging-4 =  +animation-charging-framerate = 750 -[module/filesystem] -type = internal/fs -interval = 25 +[module/i3] +type = internal/i3 -mount-0 = / +;ws-icon-0 = 1; +;ws-icon-1 = 2; +;ws-icon-2 = 3; +;ws-icon-3 = 4; +;ws-icon-4 = 5; +ws-icon-default =  -label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% -label-unmounted = %mountpoint% not mounted -label-unmounted-foreground = ${colors.foreground-alt} +format = -[module/workspace] -type = internal/xworkspaces +label-dimmed-underline = #ff0000ff -label-active = %name% -; label-active-background = ${colors.background-alt} -label-active-foreground = ${colors.foreground} -label-active-underline = ${colors.primary} -label-active-padding = 2 +label-focused = %icon% +label-focused-foreground = #fff +label-focused-background = #773f3f3f +label-focused-underline = #c9665e +label-focused-padding = 2 -label-occupied = %name% -label-occupied-foreground = ${colors.foreground} -label-occupied-underline = ${colors.secondary} -label-occupied-padding = 2 +label-unfocused = %icon% +label-unfocused-foreground = #dd +label-unfocused-underline = #666 +label-unfocused-padding = 2 -label-urgent = %name%! -label-urgent-foreground = ${colors.foreground} -label-urgent-background = ${colors.alert} +label-urgent = %icon% +label-urgent-foreground = #000000 +label-urgent-background = #bd2c40 +label-urgent-underline = #9b0a20 label-urgent-padding = 2 -label-empty = %name% -label-empty-foreground = ${colors.foreground-alt} -label-empty-padding = 2 - -[module/mpd] -type = internal/mpd -format-online = - -icon-prev =  -icon-stop =  -icon-play =  -icon-pause =  -icon-next =  - -label-song-maxlen = 25 -label-song-ellipsis = true +label-visible = %icon% +label-visible-foreground = #55 +label-visible-padding = 2 [module/cpu] type = internal/cpu -interval = 2 -format-prefix = " " -format-prefix-foreground = ${colors.foreground-alt} -format-underline = #f90000 -label = %percentage%% +interval = 0.5 +format =