;--------------------------- ; Polybar config by Dolly ;) ;--------------------------- [colors] background = #111111 background-alt = #1a1a1a foreground = #C5C8C6 foreground-alt = #B2B2B2 red = #CC6666 yellow = #F0C674 green = #B3BB67 blue = #7FA0BC [bar/bar] ;monitor = ${env:MONITOR:HDMI-1} width = 100% height = 24 ;offset-x = 1% ;offset-y = 1% ;radius = 6.0 fixed-center = false bottom = false background = ${colors.background} foreground = ${colors.foreground} line-size = 0 ;line-color = #f00 border-size = 4 border-color = ${colors.background} padding-left = 1 padding-right = 1 module-margin-left = 1 module-margin-right = 1 locale = fr_FR.UTF-8 font-0 = Oxygen Mono:size=9;1 font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 font-2 = FontAwesome:size=10.5;1 modules-left = clock networkmanager workspace window_count modules-center = term browser fx editor fm music xtitle modules-right = volume xkeyboard mail battery wlan eth powermenu tray-position = ;tray-padding = 2 ;tray-background = ${colors.background-alt} ;tray-transparent = true ;tray-offset-x = ;tray-detached = false ;tray-maxsize = 24 [module/browser] type = custom/text content =  content-foreground = ${colors.foreground} click-left = uzbl-tabbed & [module/fx] type = custom/text content =  content-foreground = ${colors.foreground} click-left = firefox & [module/fm] type = custom/text content =  content-foreground = ${colors.foreground} click-left = gnome-terminal --geometry 110x24 -e ranger & click-right = pcmanfm & [module/term] type = custom/text content =  content-foreground = ${colors.foreground} click-left = gnome-terminal & [module/editor] type = custom/text content =  content-foreground = ${colors.foreground} click-left = /opt/sublime_text/sublime_text & click-right = geany & ;[module/chrome] ;type = custom/text ;content =  ;content-foreground = ${colors.foreground} ;click-left = google-chrome & [module/music] type = custom/text content =  content-foreground = ${colors.foreground} click-left = gnome-terminal -e ncmpcpp & click-right = audacious & [module/workspace] type = custom/script interval = 1 label = %{A4:wmctrl -s "$(($(xprop -root _NET_CURRENT_DESKTOP | cut -d '=' -f 2 | cut -d ' ' -f 2)+1))":}%{A5:wmctrl -s "$(($(xprop -root _NET_CURRENT_DESKTOP | cut -d '=' -f 2 | cut -d ' ' -f 2)-1))":}%output% %{A}%{A} exec = echo "$(($(xprop -root _NET_CURRENT_DESKTOP | cut -d '=' -f 2 | cut -d ' ' -f 2)+1))" format =