From 4da67ba45d7a86cf046a9b1afb463d36eea85987 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Wed, 20 Mar 2019 16:12:31 -0500 Subject: Updated polybar config to use proper colors --- .config/polybar/config | 155 ++++++++++++++++++++++++------------------------- 1 file changed, 76 insertions(+), 79 deletions(-) (limited to '.config/polybar') diff --git a/.config/polybar/config b/.config/polybar/config index edb9e87..22508b8 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -1,4 +1,4 @@ -; Skillet's polybar config +; Danny's polybar config [colors] peach = #FFCD98 @@ -37,7 +37,7 @@ margin-bottom = 5 ;monitor = ${env:MONITOR:HDMI-0} monitor = ${env:MONITOR:eDP1} width = 100% -height = 27 +height = 24 bottom = false offset-x = 0% offset-y = 0% @@ -47,7 +47,7 @@ foreground = ${colors.xcolor1} overline-size = 0 overline-color = ${colors.xcolor7} -underline-size = 0 +underline-size = 2 underline-color = ${colors.xcolor7} border-bottom-size = 0 @@ -74,73 +74,77 @@ font-5 = FontAwesome:size=26;7 tray-position = left tray-padding = 2 tray-transparent = false -tray-background = ${colors.xcolor7} +tray-background = ${colors.xcolor1} ; Module layouts -modules-left = RightArrow2 i3 RightArrow1 RightStripe RightArrow1 -modules-center = -modules-right = arrow1 LeftStripe arrow1 filesystem arrow2 volume arrow3 cpu arrow2 memory +modules-left = RightArrow3 i3 RightArrow2 xwindow RightArrow1 RightStripe RightArrow1 +modules-center = RightStripe date LeftStripe +modules-right = arrow1 LeftStripe arrow1 filesystem arrow2 xbacklight arrow3 battery arrow2 volume arrow3 cpu arrow2 memory arrow3 updates [bar/main1] inherit = bar/main0 monitor = ${env:MONITOR:DVI-I-1} tray-position = none +modules-left = i3 RightArrow1 RightStripe RightArrow1 [bar/main2] inherit = bar/main0 monitor = ${env:MONITOR:HDMI-1-2} tray-position = none +modules-left = i3 RightArrow1 RightStripe RightArrow1 ; Modules [module/filesystem] type = internal/fs -interval = 25 +interval = 5 fixed-values = true mount-0 = / -;mount-1 = /home +mount-1 = /home +;mount-2 = /boot -format-mounted = RootFS +format-mounted = format-mounted-foreground = ${colors.xcolor7} format-mounted-background = ${colors.xcolor1} +format-unmounted = +format-unmounted-foreground = ${colors.xcolor7} +format-unmounted-background = ${colors.xcolor1} -;   -label-mounted = "  %percentage_used%%" -; %free%% %percentage_used%% %used% +label-mounted = "%mountpoint%: %percentage_used%%" label-mounted-foreground = ${colors.xcolor7} label-mounted-background = ${colors.xcolor1} -label-unmounted =   %mountpoint% +label-unmounted = "%mountpoint% not mounted" label-unmounted-foreground = ${colors.xcolor7} label-unmounted-background = ${colors.xcolor1} [module/i3] type = internal/i3 -format = +format = index-sort = true wrapping-scroll = false pin-workspaces = true enable-scroll = true label-focused = %index% -label-focused-foreground = ${colors.xcolor7} -label-focused-background = ${colors.xcolor1} -label-focused-underline = 1 +label-focused-foreground = ${colors.xcolor1} +label-focused-background = ${colors.xcolor7} +label-focused-underline = ${colors.xcolor4} label-focused-padding = 2 label-focused-font = 3 label-unfocused = %index% label-unfocused-padding = 2 -label-unfocused-foreground = ${colors.xcolor7} -label-unfocused-background = ${colors.xcolor0} +label-unfocused-foreground = ${colors.xcolor1} +label-unfocused-background = ${colors.xcolor7} label-occupied = %index% -label-occupied-foreground = ${colors.xcolor0} -label-occupied-background = ${colors.xcolor1} +label-occupied-foreground = ${colors.xcolor1} +label-occupied-background = ${colors.xcolor7} label-occupied-padding = 2 label-occupied-font = 3 label-urgent = %index% label-urgent-foreground = ${colors.xcolor4} -label-urgent-background = ${colors.xcolor1} +label-urgent-background = ${colors.xcolor7} label-urgent-padding = 2 label-urgent-font = 3 label-empty = %index% @@ -152,29 +156,28 @@ label-visible = %index% label-visible-background = ${self.label-focused-background} label-visible-underline = ${self.label-focused-underline} label-visible-padding = ${self.label-focused-padding} +label-mode-foreground = ${self.label-focused-foreground} +label-mode-background = ${self.label-focused-background} [module/xwindow] type = internal/xwindow -format-foreground = ${colors.xcolor1} -format-background = ${colors.xcolor0} +format-foreground = ${colors.xcolor7} +format-background = ${colors.xcolor1} +format-padding = 2 + +label = %title% +label-maxlen = 25 [module/xbacklight] type = internal/xbacklight -format =