diff --git a/user/polybar/.config/polybar/config b/user/polybar/.config/polybar/config new file mode 100644 index 0000000..5f187f1 --- /dev/null +++ b/user/polybar/.config/polybar/config @@ -0,0 +1,186 @@ +;===================================================== +; +; To learn more about how to configure Polybar +; go to https://github.com/jaagr/polybar +; +; The README contains alot of information +; +;===================================================== + +[colors] +background = #383C4A +background-alt = #22242D +foreground = #D3DAE3 +foreground-alt = #555 +primary = #F0DFAF +secondary = #CC9393 +alert = #CC9393 +ok = #5294e2 + +[bar/laptop] +monitor = eDP1 +monitor-strict = true +width = 100% +height = 45 +radius = 0 +fixed-center = true + +background = ${colors.background} +foreground = ${colors.foreground} + +underline-size = 4 +underline-color = ${colors.background} +overline-size = 0 + +border-size = 0 +border-bottom-size = 3 +border-bottom-color = ${colors.background} + +padding-left = 0 +padding-right = 1 + +module-margin-left = 1 +module-margin-right = 1 + +font-0 = Inconsolata Nerd Font:style=Medium:size=25:antialias=true;0 + +modules-left = i3 xwindow +modules-center = +modules-right = wlan volume xbacklight redshift battery date + +tray-position = right +tray-padding = 2 +tray-scale = 1 +tray-transparent = false + +enable-scroll = false + +[module/xwindow] +type = internal/xwindow +label = %title:0:50:...% + + +[module/i3] +type = internal/i3 +format = +index-sort = true +wrapping-scroll = false +enable-scroll = false + +; Only show workspaces on the same output as the bar +pin-workspaces = true + +label-mode-padding = 2 +label-mode-foreground = #000 +label-mode-background = ${colors.primary} + +; focused = Active workspace on focused monitor +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline = ${colors.primary} +label-focused-padding = 2 + +; unfocused = Inactive workspace on any monitor +label-unfocused = %index% +label-unfocused-padding = 2 + +; visible = Active workspace on unfocused monitor +label-visible = %index% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = ${self.label-focused-padding} + +; urgent = Workspace with urgency hint set +label-urgent = %index% +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +[module/xbacklight] +type = internal/xbacklight + +format =