===================================================== ; ; To learn more about how to configure Polybar ; go to https://github.com/jaagr/polybar ; ; The README contains alot of information ; ;===================================================== [colors] background = #00 background-alt = #00 ;foreground = ${xrdb:color3:#222} ;foreground-alt = ${xrdb:color3:#222} ;primary = ${xrdb:color1:#222} ;secondary = ${xrdb:color2:#222} foreground = #FFFFFF foreground-alt = #FFFFFF primary = #FFFFFF secondary = #FFFFFF alert = ${xrdb:color3:#222} [bar/bar1] width = 100% height = 25 radius = 0 fixed-center = true bottom = false monitor=${env:MONITOR:} background = ${colors.background} foreground = ${colors.foreground} line-size = 2 line-color = #f00 border-size = 10 border-color = #00000000 padding-left = 2 padding-right = 2 module-margin-left = 3 module-margin-right = 0 font-0 = "Hack":pixelsize=12;1" font-1 = unifont:fontformat=truetype:size=12:antialias=false;0 font-2 = "Wuncon Siji:pixelsize=9;1" font-3 = "Font Awesome 5 Free:style=Regular:pixelsize=12;1" font-4 = "Font Awesome 5 Free:style=Solid:pixelsize=12;1" font-5 = "Font Awesome 5 Brands:pixelsize=12;1" modules-left = i3 workspaces-xmonad modules-center = xwindow ;weather update installed modules-right = temperature xbacklight volume wlan battery date tray-postion = right override-redirect = false cursor-click = pointer cursor-scroll = ns-resize [bar/touchbar] width = 100% height = 25 radius = 0 fixed-center = true bottom = true monitor=${env:MONITOR:} background = ${colors.background} foreground = ${colors.foreground} line-size = 2 line-color = #f00 border-size = 10 border-color = #00000000 padding-left = 2 padding-right = 2 module-margin-left = 3 module-margin-right = 0 font-0 = "Hack":pixelsize=12;1" font-1 = unifont:fontformat=truetype:size=12:antialias=false;0 font-2 = "Wuncon Siji:pixelsize=9;1" font-3 = "Font Awesome 5 Free:style=Regular:pixelsize=12;1" font-4 = "Font Awesome 5 Free:style=Solid:pixelsize=12;1" font-5 = "Font Awesome 5 Brands:pixelsize=12;1" modules-left = touchvolmute touchvoldown touchvolup touchbrightdown touchbrightup modules-center = i3touchmenu modules-right = touchrofi touchkeyboard override-redirect = false enable-ipc = true [module/workspaces-xmonad] type = custom/script exec = tail -F /tmp/.xmonad-workspace-log exec-if = [ -p /tmp/.xmonad-workspace-log ] tail = true [module/title-xmonad] type = custom/script exec = tail -F /tmp/.xmonad-title-log exec-if = [ -p /tmp/.xmonad-title-log ] tail = true [module/touchkeyboard] ;; Open onscreen keyboard (onboard) type=custom/text content=" " content-foreground=#fff click-left=onboard [module/touchrofi] type=custom/text content=" " content-foreground=#fff click-left=rofi -show run [module/touchbrightdown] ;; Brightness down type=custom/text content=" " content-foreground=#fff click-left=xbacklight -dec 10 [module/touchbrightup] ;; Brightness up type=custom/text content=" " content-foreground=#fff click-left=xbacklight -inc 10 [module/touchvolmute] ;; Mute type=custom/text content=" " content-foreground=#fff click-left=pactl set-sink-mute 0 toggle [module/touchvoldown] ;; Volume down type=custom/text content=" " content-foreground=#fff click-left=pactl set-sink-mute 0 false && pactl set-sink-volume 0 -5% [module/touchvolup] ;; Volume up type=custom/text content=" " content-foreground=#fff click-left=pactl set-sink-mute 0 false && pactl set-sink-volume 0 +5% [module/update] type = custom/script label-foreground = ${colors.foreground-alt} interval = 30 format =