; vim:ft=dosini ; _ _ _ _ ; |_)/ \|\_/|_) /\ |_) ; | \_/|_| |_)/--\| \ ; [colors] include-file = ~/.config/polybar/colors [bar/top] monitor = ${env:MONITOR:eDP-1} include-file = ~/.config/polybar/top-bar modules-left = i3 xwindow modules-center = term chrome editor fm music vpn modules-right = vpn-nordvpn-status wlan pkg alsa battery backlight networkmanager popup-calendar ;tray-position = right ;tray-padding = 2 ;tray-transparent = true ;tray-background = #0063ff [bar/bottom] monitor = ${env:MONITOR:eDP-1} include-file = ~/.config/polybar/bottom-bar modules-left = hostname vpncheck modules-center = cpu memory temperature filesystem modules-right = openweather [module/pulseaudio-rofi-output] type = custom/script exec = ~/.config/Scripts/pulseaudio-rofi.sh --output_volume_listener tail = true click-right = ~/.config/Scripts/pulseaudio-rofi.sh --output click-left = ~/.config/Scripts/pulseaudio-rofi.sh --mute scroll-up = ~/.config/Scripts/pulseaudio-rofi.sh --volume_up scroll-down = ~/.config/Scripts/pulseaudio-rofi.sh --volume_down [module/pulseaudio] type = internal/pulseaudio sink = bluez_sink.E8_07_BF_33_4D_F2.headset_head_unit use-ui-max = true interval = 5 format-volume = label-volume = %percentage%% label-volume-foreground = ${root.foreground} format-muted = format-muted-foreground = ${colors.alert} label-muted =  muted ramp-volume-0 =  ramp-volume-1 =  ramp-volume-foreground = ${colors.foreground} ramp-headphones-0 =  ramp-headphones-1 =  [module/filesystem] type = internal/fs mount-0 = / interval = 10 fixed-values = true spacing = 4 format-mounted = format-unmounted = label-mounted =  %percentage_used%% label-mounted-foreground = ${colors.foreground} label-unmounted = %mountpoint%: not mounted label-unmounted-foreground = ${colors.foreground-alt} [module/backlight] type = custom/script interval = 0.2 exec = ~/.config/Scripts/backlight.sh scroll-up = exec light -A 5 scroll-down = exec light -U 5 format-prefix = " " format-prefix-foreground = ${colors.foreground} label = %output% label-foreground = ${colors.foreground} ;format-padding = 1 [module/popup-calendar] type = custom/script exec = ~/.config/Scripts/popup-calendar.sh interval = 5 click-left = ~/.config/Scripts/popup-calendar.sh --popup format-prefix = " " [module/vpncheck] type = custom/script exec = pgrep openvpn interval = 5 label = VPN ;format-underline = ${colors.alert} format-prefix = " " [module/hostname] type = custom/script interval = 256 format = "