Created
June 12, 2020 19:14
-
-
Save G0BL1N/c8eb576a92449c565ac07025bbcd0365 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;========================================================== | |
; | |
; | |
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ | |
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ | |
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ | |
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ | |
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ | |
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ | |
; | |
; | |
; To learn more about how to configure Polybar | |
; go to https://github.com/polybar/polybar | |
; | |
; The README contains a lot of information | |
; | |
;========================================================== | |
[colors] | |
;background = ${xrdb:color0:#222} | |
;background = #000000 | |
;background-alt = #444 | |
;foreground = ${xrdb:color7:#222} | |
;foreground = #dfdfdf | |
;foreground-alt = #555 | |
;primary = #ffb52a | |
;secondary = #e60053 | |
;alert = #bd2c40 | |
background = ${xrdb:color0:#222} | |
foreground = ${xrdb:color7:#222} | |
foreground-alt = ${xrdb:color7:#222} | |
primary = ${xrdb:color1:#222} | |
secondary = ${xrdb:color2:#222} | |
alert = ${xrdb:color4:#222} | |
[bar/bar] | |
width = 100% | |
height = 24 | |
border-size = 3 | |
padding-right = 2 | |
module-margin-left = 2 | |
module-margin-right = 2 | |
background = ${colors.background} | |
foreground = ${colors.foreground} | |
border-color = ${colors.background} | |
font-0 = Noto Sans:pixelsize=14;3 | |
font-1 = Font Awesome 5 Free Solid:pixelsize=12;2 | |
font-2 = Weather Icons:pixelsize=14;3 | |
font-3 = Weather Icons:pixelsize=16;4 | |
modules-left = bspwm | |
modules-center = date openweathermap-simple | |
modules-right = xkeyboard wlan pulseaudio backlight-acpi battery | |
wm-restack = bspwm | |
locale = ru_RU.UTF-8 | |
[module/bspwm] | |
type = internal/bspwm | |
label-focused = | |
label-focused-foreground = ${colors.alert} | |
label-focused-padding = 1 | |
label-occupied = | |
label-occupied-foreground = ${colors.secondary} | |
label-occupied-padding = 1 | |
label-urgent = | |
label-urgent-foreground = ${colors.primary} | |
label-urgent-padding = 1 | |
label-empty = | |
label-empty-foreground = ${colors.foreground} | |
label-empty-padding = 1 | |
[module/xkeyboard] | |
type = internal/xkeyboard | |
blacklist-0 = num lock | |
[module/backlight-acpi] | |
type = internal/backlight | |
card = intel_backlight | |
format = <ramp> <label> | |
label = %percentage% | |
ramp-font = 4 | |
ramp-0 = | |
ramp-1 = | |
ramp-2 = | |
ramp-3 = | |
ramp-4 = | |
ramp-5 = | |
ramp-6 = | |
ramp-7 = | |
ramp-8 = | |
ramp-9 = | |
ramp-10 = | |
ramp-11 = | |
ramp-12 = | |
ramp-13 = | |
[module/wlan] | |
type = internal/network | |
interface = wlp0s20f3 | |
format-connected <label-connected> | |
label-connected = %signal% | |
[module/battery] | |
type = internal/battery | |
battery = BAT0 | |
adapter = ADP1 | |
full-at = 100 | |
format-discharging = <ramp-capacity> <label-discharging> | |
;format-charging = <ramp-capacity> <label-charging> | |
format-charging = <label-charging> | |
label-discharging = %percentage% | |
label-charging = %percentage% | |
label-full = %percentage% | |
ramp-capacity-0 = | |
ramp-capacity-1 = | |
ramp-capacity-2 = | |
ramp-capacity-3 = | |
ramp-capacity-4 = | |
[module/pulseaudio] | |
type = internal/pulseaudio | |
format-volume = <ramp-volume> <label-volume> | |
format-muted = <label-muted> | |
label-volume = %percentage% | |
label-muted = | |
label-muted-foreground = ${colors.secondary} | |
ramp-volume-0 = | |
ramp-volume-1 = | |
ramp-volume-2 = | |
[module/date] | |
type = internal/date | |
interval = 1 | |
time = %H:%M:%S | |
date = %a %e.%m %H:%M:%S | |
[module/openweathermap-simple] | |
type = custom/script | |
exec = ~/.config/polybar/scripts/openweathermap-simple.sh | |
interval = 600 | |
label-font = 3 | |
; vim:ft=dosini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment