diff options
Diffstat (limited to 'polybar/config')
-rw-r--r-- | polybar/config | 75 |
1 files changed, 41 insertions, 34 deletions
diff --git a/polybar/config b/polybar/config index 8d1e26b..6918754 100644 --- a/polybar/config +++ b/polybar/config @@ -1,25 +1,7 @@ -;========================================================== -; -; -; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ -; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ -; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ -; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ -; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ -; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ -; -; -; To learn more about how to configure Polybar -; go to https://github.com/jaagr/polybar -; -; The README contains alot of information -; -;========================================================== [colors] -background = #000000 -background-alt = #222222 -;foreground = ${xrdb:color7:#222} +background = #000000ff +background-alt = #222222ff foreground = #dfdfdf foreground-alt = #555 primary = #ffb52a @@ -27,9 +9,9 @@ secondary = #e60053 alert = #bd2c40 [bar/jonny] -monitor = ${env:MONITOR:DP-2} +monitor = ${env:MONITOR:} width = 100% -height = 27 +height = 25 ;offset-x = 1% ;offset-y = 1% ;radius = 6.0 @@ -137,7 +119,7 @@ index-sort = true wrapping-scroll = false ; Only show workspaces on the same output as the bar -;pin-workspaces = true +pin-workspaces = true label-mode-padding = 2 label-mode-foreground = #000 @@ -145,17 +127,19 @@ label-mode-background = ${colors.primary} ; focused = Active workspace on focused monitor label-focused = %index% -label-focused-background = ${module/bspwm.label-focused-background} -;label-focused-underline = ${module/bspwm.label-focused-underline} +;label-focused-background = ${module/bspwm.label-focused-background} +label-focused-underline = ${module/bspwm.label-focused-underline} label-focused-padding = ${module/bspwm.label-focused-padding} ; unfocused = Inactive workspace on any monitor label-unfocused = %index% +label-unfocused-foreground = ${colors.foreground-alt} label-unfocused-padding = ${module/bspwm.label-occupied-padding} ; visible = Active workspace on unfocused monitor label-visible = %index% -label-visible-background = ${self.label-focused-background} + +;label-visible-background = ${colors.background-alt} ;label-visible-underline = ${self.label-focused-underline} label-visible-padding = ${self.label-focused-padding} @@ -165,7 +149,7 @@ label-urgent-background = ${module/bspwm.label-urgent-background} label-urgent-padding = ${module/bspwm.label-urgent-padding} ; Separator in between workspaces - label-separator = + label-separator = | [module/mpd] @@ -206,18 +190,40 @@ card = intel_backlight [module/cpu] type = internal/cpu interval = 2 -format-prefix = "CPU " +;format-prefix = "CPU " format-prefix-foreground = ${colors.foreground-alt} +format = <label> <ramp-coreload> ;format-underline = #f90000 label = %percentage:2%% +ramp-coreload-spacing = 0 +ramp-coreload-0 = ▁ +ramp-coreload-1 = ▂ +ramp-coreload-2 = ▃ +ramp-coreload-3 = ▄ +ramp-coreload-4 = ▅ +ramp-coreload-5 = ▆ +ramp-coreload-6 = ▇ +ramp-coreload-7 = █ + [module/memory] type = internal/memory interval = 2 -format-prefix = "RAM " +format = <label> <bar-used> +;format-prefix = "RAM " format-prefix-foreground = ${colors.foreground-alt} ;format-underline = #4bffdc -label = %percentage_used%% +label = %percentage_used:2%% + +bar-used-indicator = +bar-used-width = 10 +bar-used-foreground-0 = #55aa55 +bar-used-foreground-1 = #557755 +bar-used-foreground-2 = #f5a70a +bar-used-foreground-3 = #ff5555 +bar-used-fill = █ +bar-used-empty = █ +bar-used-empty-foreground = #444444 [module/wlan] type = internal/network @@ -246,13 +252,14 @@ ramp-signal-foreground = ${colors.foreground-alt} [module/eth] type = internal/network -interface = enp2s0 +interface = enp0s25 interval = 3.0 format-connected-underline = -format-connected-prefix = "ETH " +;format-connected-prefix = "ETH " format-connected-prefix-foreground = ${colors.foreground-alt} -label-connected = %local_ip% +label-connected = %downspeed:9% \/ %upspeed:9% /\ +label-connected-font = 0 format-disconnected = ;format-disconnected = <label-disconnected> @@ -280,7 +287,7 @@ label = %date% %time% type = internal/pulseaudio format-volume = <label-volume> <bar-volume> -label-volume = VOL %percentage%% +label-volume = %percentage%% label-volume-foreground = ${root.foreground} label-muted = 🔇 muted |