aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--polybar/config94
1 files changed, 37 insertions, 57 deletions
diff --git a/polybar/config b/polybar/config
index f61e110..a7f473c 100644
--- a/polybar/config
+++ b/polybar/config
@@ -1,6 +1,5 @@
-
[colors]
-background = #000000ff
+background = #000000
background-alt = #222222ff
foreground = #dfdfdf
foreground-alt = #555
@@ -29,40 +28,44 @@ Iborder-color = #00000000
padding-left = 0
padding-right = 2
-module-margin-left = 3
-module-margin-right = 3
+module-margin-left = 1
+module-margin-right = 1
-font-0 = fixed:pixelsize=10;1
-font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
+font-0 = DejaVu Sans Mono for Powerline:pixelsize=10;3
+font-1 = unifont:fontformat=truetype:size=10:antialias=false;0
font-2 = siji:pixelsize=10;1
-modules-left = i3
+modules-left = xwindow i3 powermenu
modules-center = date
-modules-right = filesystem backlight-acpi pulseaudio memory cpu wlan eth battery temperature powermenu
+modules-right = filesystem backlight-acpi pulseaudio memory cpu wlan eth battery temperature
separator = |
tray-position = right
tray-padding = 2
-;tray-background = #0063ff
-;wm-restack = bspwm
wm-restack = i3
bottom = true
;override-redirect = true
-;scroll-up = bspwm-desknext
-;scroll-down = bspwm-deskprev
-
-;scroll-up = i3wm-wsnext
-;scroll-down = i3wm-wsprev
+scroll-up = i3wm-wsnext
+scroll-down = i3wm-wsprev
cursor-click = pointer
-cursor-scroll = ns-resize
[module/xwindow]
type = internal/xwindow
-label = %title:0:30:...%
+format = <label>
+format-foreground = ${colors.primary}
+
+label = %title%
+label-foreground = ${colors.foreground-alt}
+label-maxlen = 18
+label-minlen = ${self.label-maxlen}
+
+label-empty = " "
+label-empty-maxlen = ${self.label-maxlen}
+label-empty-minlen = ${self.label-minlen}
[module/xkeyboard]
type = internal/xkeyboard
@@ -90,28 +93,6 @@ label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt}
-[module/bspwm]
-type = internal/bspwm
-
-label-focused = %index%
-label-focused-background = ${colors.background-alt}
-label-focused-underline= ${colors.primary}
-label-focused-padding = 2
-
-label-occupied = %index%
-label-occupied-padding = 2
-
-label-urgent = %index%!
-label-urgent-background = ${colors.alert}
-label-urgent-padding = 2
-
-label-empty = %index%
-label-empty-foreground = ${colors.foreground-alt}
-label-empty-padding = 2
-
-; Separator in between workspaces
-; label-separator = |
-
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
@@ -121,20 +102,20 @@ wrapping-scroll = false
; Only show workspaces on the same output as the bar
pin-workspaces = true
-label-mode-padding = 2
+label-mode-padding = 1
label-mode-foreground = #000
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-padding = ${module/bspwm.label-focused-padding}
+label-focused-underline = ${colors.primary}
+label-focused-padding = 1
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-foreground = ${colors.foreground-alt}
-label-unfocused-padding = ${module/bspwm.label-occupied-padding}
+label-unfocused-padding = 1
; visible = Active workspace on unfocused monitor
label-visible = %index%
@@ -193,7 +174,6 @@ interval = 2
;format-prefix = "CPU "
format-prefix-foreground = ${colors.foreground-alt}
format = <label> <ramp-coreload>
-;format-underline = #f90000
label = %percentage:2%%
ramp-coreload-spacing = 0
@@ -255,10 +235,10 @@ type = internal/network
interface = enp0s25
interval = 3.0
-format-connected-underline =
+;format-connected-underline =
;format-connected-prefix = "ETH "
format-connected-prefix-foreground = ${colors.foreground-alt}
-label-connected = %downspeed:15% \/ %upspeed:15% /\
+label-connected = %downspeed:10% \/ %upspeed:10% /\
label-connected-font = 0
format-disconnected =
@@ -269,17 +249,17 @@ format-disconnected =
[module/date]
type = internal/date
-interval = 5
+interval = 1
date = %d.%m.%Y
-date-alt = " %Y-%m-%d"
+;date-alt = " %Y-%m-%d"
-time = %H:%M
-time-alt = %H:%M:%S
+time = %H:%M:%S
+;time-alt = %H:%M:%S
-format-prefix = 
+format-prefix =
format-prefix-foreground = ${colors.foreground-alt}
-;format-underline = #0a6cf5
+;format-underline = ${colors.secondary}
label = %date% %time%
@@ -290,8 +270,8 @@ format-volume = <label-volume> <bar-volume>
label-volume = %percentage%%
label-volume-foreground = ${root.foreground}
-label-muted = 🔇 muted
-label-muted-foreground = #666
+label-muted = muted
+label-muted-foreground = ${colors.foreground-alt}
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
@@ -371,9 +351,9 @@ expand-right = true
format-spacing = 1
-label-open = 
-label-open-foreground = ${colors.secondary}
-label-close =  cancel
+label-open = X
+label-open-foreground = ${colors.primary}
+label-close = X
label-close-foreground = ${colors.secondary}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}