;===================================================== ; ; To learn more about how to configure Polybar ; go to https://github.com/jaagr/polybar ; ; The README contains alot of information ; ;===================================================== [colors] background = #000 foreground = #fff foreground-alt = #555 [bar/landscape] ; not used: songname menu-media xbacklightbuttons modules-left = i3touchmenu update ovpn nvpn usbmodem1 usbmodem2 usbmodem3 eth wlan modules-center = xbacklight i3 volume modules-right = cpu memory temperature disk battery date monitor = ${env:MONITOR:eDP1} width = 100% height = 20 fixed-center = true background = ${colors.background} foreground = ${colors.foreground} line-size = 3 line-color = #000 separator =| module-margin-left = 1 module-margin-right = 1 padding-right= 2 font-0 = Hack Nerd Font:fontformat=truetype:pixelsize=10;1 font-1 = Font Awesome 5 Free:fontformat=truetype:pixelsize=10:antialias=true;0 tray-position = left tray-padding = 9 tray-detached = false tray-maxsize = 15 tray-background = ${root.background} tray-scale = 1.0 enable-ipc = true [bar/landscape_second] ; not used: songname menu-media xbacklightbuttons modules-left = modules-center = i3 modules-right = date monitor = ${env:MONITOR:HDMI1} width = 100% height = 20 fixed-center = true background = ${colors.background} foreground = ${colors.foreground} line-size = 3 line-color = #000 separator =| module-margin-left = 1 module-margin-right = 1 padding-right= 2 font-0 = Hack Nerd Font:fontformat=truetype:pixelsize=10;1 font-1 = Font Awesome 5 Free:fontformat=truetype:pixelsize=10:antialias=true;0 enable-ipc = true [bar/portrait] ; not used: songname menu-media update disk eth modules-left = i3touchmenu xbacklightbuttons ovpn nvpn usbmodem1 usbmodem2 usbmodem3 wlanshort modules-center = xbacklight i3 volume modules-right = cpu memory temperature batteryshort date monitor = ${env:MONITOR:eDP1} width = 100% height = 20 fixed-center = true background = ${colors.background} foreground = ${colors.foreground} line-size = 3 line-color = #000 separator =| module-margin-left = 1 module-margin-right = 1 padding-right= 2 font-0 = Hack Nerd Font:fontformat=truetype:pixelsize=10;1 font-1 = Font Awesome 5 Free:fontformat=truetype:pixelsize=10:antialias=true;0 tray-position = left tray-padding = 9 tray-detached = false tray-maxsize = 15 tray-background = ${root.background} tray-scale = 1.0 enable-ipc = true [module/i3] type = internal/i3 pin-workspaces = true strip-wsnumbers = true index-sort = true enable-click = true enable-scroll = true wrapping-scroll = true reverse-scroll = true fuzzy-match = false format = label-mode = %mode% label-mode-padding = 1 label-mode-background = ${colors.background} label-focused =%icon%%name% label-focused-foreground = ${colors.foreground} label-focused-background = ${colors.background} label-focused-underline = #fff label-focused-margin = 2 label-unfocused =%icon%%name% label-unfocused-foreground = ${colors.foreground} label-unfocused-background = ${colors.background} label-unfocused-margin = 1 label-visible =%icon%%name% label-visible-underline = #fff label-visible-margin = 1 label-urgent =%icon%%name%! label-urgent-foreground = ${colors.foreground-alt} label-urgent-background = ${colors.background} label-urgent-padding = 1 [module/menu-media] type = custom/menu expand-right = true label-open =  label-close =  label-separator = " " menu-0-0 =  menu-0-0-exec = "playerctl previous" menu-0-1 =  menu-0-1-exec = "playerctl play-pause" menu-0-2 =  menu-0-2-exec = "playerctl next" [module/ovpn] type = custom/script interval = 3 format = ovpn: