From 4c7aaef74b7c1507ae79f7794eeef80f01dd40e9 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sun, 21 Apr 2019 15:07:23 +0200 Subject: Added script for i3 workspace env --- polybar/.config/polybar/config | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) (limited to 'polybar') diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 255d80d..2d2c26b 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -8,14 +8,14 @@ ;===================================================== [colors] -background = ${xrdb:color4} -background-alt = ${xrdb:color15} -#foreground = #dfdfdf +pseudo-transparency = true +background = #fffffff +background-alt = #fffffff foreground = ${xrdb:color7} foreground-alt = ${xrdb:color4} primary = #ffb52a secondary = #e60053 -alert = ${xrdb:color1} +alert = ${xrdb:color9} [global/wm] margin-top = 0 @@ -34,7 +34,7 @@ offset-y = 0 fixed-center = true background = ${colors.background} -foreground = ${colors.foreground} +foreground = ${colors.foreground-alt} overline-size = 2 overline-color = #f00 @@ -67,9 +67,6 @@ tray-padding = 2 ;override-redirect = true -;scroll-up = bspwm-desknext -;scroll-down = bspwm-deskprev - scroll-up = i3wm-wsnext scroll-down = i3wm-wsprev @@ -103,25 +100,24 @@ format = index-sort = true wrapping-scroll = false +label-mode = %mode% label-mode-padding = 2 -label-mode-foreground = #000 -label-mode-background = ${colors.primary} +#label-mode-foreground = #000000 +#label-mode-background = ${colors.primary} -border-size = 1 -border-colol = #000 -pseudo-transparency = true +#border-size = 1 +#border-colol = #000 #label-focused = %name% label-focused = %icon% -#label-focused-background = ${module/bspwm.label-focused-background} -label-focused-background = ${colors.background-alt} -#label-focused-underline = ${colors.foreground} +label-focused-background = ${colors.foreground-alt} label-focused-padding = ${module/bspwm.label-focused-padding} -label-focused-foreground = ${colors.foreground-alt} +label-focused-foreground = ${colors.foreground} label-unfocused = %icon% label-unfocused-padding = ${module/bspwm.label-occupied-padding} -label-unfocused-background = ${colors.background} +label-unfocused-background = ${colors.background-alt} +label-unfocused-foreground = ${colors.foreground-alt} label-urgent = %icon% label-urgent-background = ${colors.background} @@ -139,6 +135,7 @@ strip-wsnumbers = true ws-icon-0 = 101:Web; ws-icon-1 = 100:Mail; +# All the characters comes from materialdesignicons. ws-icon-2 = 102:Musique; ws-icon-3 = 1; ws-icon-4 = 2; @@ -152,11 +149,12 @@ ws-icon-11 = 9; ws-icon-12 = 10; ws-icon-13 = 11; ws-icon-14 = 12; +ws-icon-15 = 0:code-pdf;︹ ws-icon-default = ○ ; Separator in between workspaces -#label-separator = " " -#label-separator-padding = 0 +label-separator = " " +label-separator-padding = 0 #label-separator-foreground = #ffb52a [module/date] @@ -170,7 +168,7 @@ time = " %H:%M" time-alt =  %d %b %H:%M format-prefix = -format-prefix-foreground = ${colors.foreground-alt} +format-foreground = ${colors.foreground-alt} #format-underline = #0a6cf5 #label = %date% %time% -- cgit v1.2.3