;===================================================== ; ; To learn more about how to configure Polybar ; go to https://github.com/jaagr/polybar ; ; The README contains alot of information ; ;===================================================== [colors] background = #222 foreground = #AAAAAA primary = #4c94af ok = #4E9A06 warning = #E07C00 alert = #DD1111 [bar/internal] monitor = eDP-1 font-0 = notosans:size=10;0 font-1 = FontAwesome;0 width = 100% height = 27 offset-x = 0% offset-y = 0% radius = 0 fixed-center = false background = ${colors.background} foreground = ${colors.foreground} line-size = 3 line-color = #f00 border-size = 0 border-color = #00000000 padding-left = 0 padding-right = 0 module-margin-left = 3 module-margin-right = 3 modules-left = i3 modules-center = modules-right = cpu memory temperature vpnaboutyou wlan aircrack eth eth-c battery0 pavolume date tray-position = right tray-padding = 3 tray-maxsize = 0 override-redirect = false wm-restack = i3 [bar/external] inherit = bar/internal monitor = DP1-2 monitor-strict = true #modules-left = i3 #modules-center = #modules-right = date [bar/hdmi] inherit = bar/internal monitor = HDMI2 monitor-strict = true #modules-left = i3 #modules-center = modules-right = cpu memory pavolume date [module/xwindow] type = internal/xwindow label = %title:0:30:...% [module/i3] type = internal/i3 format = index-sort = true wrapping-scroll = false ; Only show workspaces on the same output as the bar pin-workspaces = true label-mode-padding = 3 label-mode-foreground = #000 label-mode-background = ${colors.foreground} ; focused = Active workspace on focused monitor9f78e1 label-focused = %icon% label-focused-foreground = ${colors.ok} label-focused-background = ${colors.background} label-focused-underline = ${colors.primary} label-focused-padding = 3 ; unfocused = Inactive workspace on any monitor label-unfocused = %icon% label-unfocused-padding = 3 ; visible = Active workspace on unfocused monitor label-visible = %icon% label-visible-background = ${colors.background} label-visible-underline = ${colors.foreground} label-visible-padding = ${colors.background} ; urgent = Workspace with urgency hint set label-urgent = %icon% label-urgent-background = ${colors.background} label-urgent-underline = ${colors.alert} label-urgent-padding = 3 ws-icon-0 = 1; ws-icon-1 = 2; ws-icon-2 = 3; ws-icon-3 = 4; ws-icon-4 = 5; ws-icon-5 = 6; ws-icon-6 = 7; ws-icon-7 = 8; ws-icon-8 = 9; [module/wlan] type = internal/network interface = wlp61s0 interval = 1.0 ;format-connected = format-connected-prefix = " " format-connected-prefix-foreground = ${colors.ok} format-connected = label-connected = %essid% format-disconnected-prefix = " " format-disconnected-prefix-foreground = ${colors.warning} format-disconnected =  ramp-signal-0 = 0 ramp-signal-1 = 1 ramp-signal-2 = 2 ramp-signal-3 = 3 ramp-signal-4 = 4 ramp-signal-foreground = ${colors.hidden} [module/aircrack] type = internal/network interface = wlp61s0mon interval = 1.0 format-disconnected-prefix = " " format-disconnected-prefix-foreground = ${colors.alert} format-disconnected = [Aircrack] [module/eth] type = internal/network interface = enp0s31f6 interval = 5.0 format-connected-underline = ${colors.background} format-connected-prefix = " " format-connected-prefix-foreground = ${colors.ok} format-connected = label-connected = %local_ip% [module/eth-c] type = internal/network interface = ens4u1u2 interval = 5.0 format-connected-underline = ${colors.background} format-connected-prefix = " " format-connected-prefix-foreground = ${colors.ok} format-connected = label-connected = %local_ip% [module/vpnaboutyou] type = custom/script exec = ~/.config/polybar/vpncheck.sh internal = 5 label = %output% format =