# SCRIPT NAME: # .config/polybar/config # # AUTHOR: # Severin Kaderli # # DESCRIPTION: # This file contains my Polybar configuration # # USAGE: # This file is automatically used by Polybar. ####################################### # Variables ####################################### [settings] padding = 4 # 60% alpha background-color = ${xrdb:color0:#222} foreground-color = ${xrdb:color7:#222} bar-height = 35 #background = ${xrdb:color0:#222} #foreground = ${xrdb:color7:#222} #foreground-alt = ${xrdb:color7:#222} #primary = ${xrdb:color1:#222} #secondary = ${xrdb:color2:#222} #alert = ${xrdb:color3:#222} ####################################### # Top bar ####################################### [bar/top] monitor = ${env:POLYBAR_MONITOR} width = 100%:-20 height = ${settings.bar-height} offset-x = 10 offset-y = 10 override-redirect = true wm-restack = i3 font-0 = Noto Sans:pixelsize=12;3 font-1 = Noto Sans CJK JP:pixelsize=12;3 font-2 = Font Awesome 5 Free:style=Solid::pixelsize=12;3 font-3 = Font Awesome 5 Brands:pixelsize=12;3 font-4 = siji:pixelsize=12;3 background = ${settings.background-color} foreground = ${settings.foreground-color} padding-right = 2 module-margin = 2 modules-left = i3 i3info modules-center = modules-right = update battery battery2 volume backlight vpn wlan ethernet date power tray-position = none separator = | scroll-up = i3wm-desknext scroll-down = i3wm-deskprev ####################################### # Bottom bar ####################################### [bar/bottom] inherit = bar/top bottom = true modules-left = modules-center = modules-right = music tray-position = left ####################################### # i3 workspaces ####################################### [module/i3] type = internal/i3 pin-workspaces = true strip-wsnumbers = true index-sort = true enable-click = true enable-scroll = true wrapping-scroll = false format = label-focused = %name% label-focused-foreground = ${settings.background-color} label-focused-background = ${settings.foreground-color} label-focused-padding = ${settings.padding} label-unfocused = %name% label-unfocused-padding = ${settings.padding} label-visible = %name% label-visible-padding = ${settings.padding} label-urgent = %name% label-urgent-foreground = ${settings.foreground-color} label-urgent-background = ${settings.background-color} label-urgent-padding = ${settings.padding} ############################################################################### # RSS count # ############################################################################### [module/rss] type = custom/script exec = newsboat -x print-unread | cut -d " " -f1 format =