;========================================================== ; ; ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ; ; ; To learn more about how to configure Polybar ; go to https://github.com/polybar/polybar ; ; The README contains a lot of information ; ;========================================================== [colors] background = #282A2E background-alt = #373B41 foreground = #C5C8C6 primary = #F0C674 secondary = #8ABEB7 alert = #A54242 disabled = #707880 [bar/felix] ; bottom = true width = 100% height = 24pt radius = 0 bottom = true border-left-size = 0 border-right-size = 0 border-bottom-size = 0 border-top-size = 2 ; dpi = 96 monitor = ${env:MONITOR:eDP-1} background = ${colors.background} foreground = ${colors.foreground} line-size = 3pt border-size = 4pt border-color = #00000000 padding-left = 0 padding-right = 1 module-margin = 1 separator = | separator-foreground = ${colors.disabled} font-0 = monospace;2 font-1 = Material Design Icons;2 font-2 = FontAwesome;2 font-3 = Roboto;2 ; modules-left = xworkspaces xwindow modules-left = xworkspaces ; modules-right = backlight filesystem pulseaudio memory cpu wlan battery date modules-right = backlight filesystem pulseaudio mic memory cpu wlan eth battery date cursor-click = pointer cursor-scroll = ns-resize enable-ipc = true tray-position = right ; wm-restack = generic ; wm-restack = bspwm wm-restack = i3 ; override-redirect = true [module/mic] type = custom/script tail = true label-foreground = ${colors.foreground} label-background = ${colors.background} interval = 1 exec = ~/.config/polybar/microphone-toggle.sh click-left = pactl set-source-mute @DEFAULT_SOURCE@ toggle click-right = pavucontrol -t 4 & [module/backlight] type = internal/backlight ; Use the following command to list available cards: ; $ ls -1 /sys/class/backlight/ ;card = intel_backlight card = acpi_video0 ; Use the `/sys/class/backlight/.../actual-brightness` file ; rather than the regular `brightness` file. ; Defaults to true unless the specified card is an amdgpu backlight. ; New in version 3.6.0 use-actual-brightness = true ; Enable changing the backlight with the scroll wheel ; NOTE: This may require additional configuration on some systems. Polybar will ; write to `/sys/class/backlight/${self.card}/brightness` which requires polybar ; to have write access to that file. ; DO NOT RUN POLYBAR AS ROOT. ; The recommended way is to add the user to the ; `video` group and give that group write-privileges for the `brightness` file. ; See the ArchWiki for more information: ; https://wiki.archlinux.org/index.php/Backlight#ACPI ; Default: false enable-scroll = true ; Available tags: ;