dotfiles-remastered/.config/polybar/config

225 lines
5.5 KiB
Plaintext
Raw Normal View History

2020-06-11 14:22:40 +00:00
;===========================================================;
; ;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ;
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ;
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ;
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ;
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ;
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ;
; ;
;===========================================================;
2020-08-04 19:51:15 +00:00
; Required packages:
; - xorg-xrandr (for launch script)
; - xrdb (for wal colors)
2020-06-11 14:22:40 +00:00
[colors]
background = #00000000
foreground = #dfdfdf
2020-08-04 19:51:15 +00:00
text = ${xrdb:color15:#ffffff}
2020-06-11 14:22:40 +00:00
[bar/main]
enable-ipc = true
2020-07-09 11:17:17 +00:00
monitor = ${env:MONITOR}
2020-06-11 14:22:40 +00:00
width = 100%
2020-08-04 19:51:15 +00:00
height = 3%
2020-06-11 14:22:40 +00:00
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 = 2
module-margin-left = 1
module-margin-right = 2
font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
modules-left = i3
modules-center =
2020-08-04 19:51:15 +00:00
modules-right = spotifyd pulseaudio memory cpu wlan battery date
2020-06-11 14:22:40 +00:00
tray-position = right
tray-padding = 2
;tray-background = #0063ff
cursor-click = pointer
cursor-scroll = ns-resize
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
2020-08-04 19:51:15 +00:00
format-foreground = ${colors.text}
2020-06-11 14:22:40 +00:00
label-mode-padding = 2
label-mode-foreground = #000
2020-08-04 19:51:15 +00:00
label-mode-background = #e6e600
2020-06-11 14:22:40 +00:00
; focused = Active workspace on focused monitor
label-focused = %index%
2020-08-04 19:51:15 +00:00
label-focused-background = #00000000
label-focused-underline = #f90000
label-focused-padding = 2
2020-06-11 14:22:40 +00:00
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
2020-08-04 19:51:15 +00:00
label-unfocused-padding = 2
2020-06-11 14:22:40 +00:00
; visible = Active workspace on unfocused monitor
label-visible = %index%
label-visible-background = ${self.label-focused-background}
2020-08-04 19:51:15 +00:00
label-visible-underline = #ffff00
2020-06-11 14:22:40 +00:00
label-visible-padding = ${self.label-focused-padding}
; urgent = Workspace with urgency hint set
label-urgent = %index%
2020-08-04 19:51:15 +00:00
label-urgent-background = #3399ff
label-urgent-padding = 2
2020-06-11 14:22:40 +00:00
[module/xbacklight]
type = internal/xbacklight
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = |
bar-indicator-foreground = #fff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
2020-08-04 19:51:15 +00:00
bar-empty-foreground = ${colors.foreground}
2020-06-11 14:22:40 +00:00
[module/backlight-acpi]
inherit = module/xbacklight
type = internal/backlight
card = intel_backlight
[module/cpu]
type = internal/cpu
interval = 2
format-underline = #f90000
2020-08-04 19:51:15 +00:00
format-foreground = ${colors.text}
2020-06-11 14:22:40 +00:00
label = %percentage:2%%
[module/memory]
type = internal/memory
interval = 2
format-underline = #4bffdc
2020-08-04 19:51:15 +00:00
format-foreground = ${colors.text}
2020-06-11 14:22:40 +00:00
label = %percentage_used%%
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
2020-08-04 19:51:15 +00:00
format-connected-foreground = ${colors.text}
format-connected = <label-connected>
2020-06-11 14:22:40 +00:00
format-connected-underline = #9f78e1
label-connected = %essid%
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
2020-08-04 19:51:15 +00:00
format-foreground = ${colors.text}
2020-06-11 14:22:40 +00:00
format-underline = #0a6cf5
label = %date% %time%
[module/pulseaudio]
type = internal/pulseaudio
2020-08-04 19:51:15 +00:00
format-volume-underline = #ff6600
2020-06-11 14:22:40 +00:00
format-volume = <label-volume> <bar-volume>
2020-08-06 14:05:14 +00:00
label-volume = %percentage%%
2020-08-04 19:51:15 +00:00
label-volume-foreground = ${colors.text}
2020-06-11 14:22:40 +00:00
2020-08-04 19:51:15 +00:00
label-muted = muted
label-muted-foreground = ${colors.text}
format-muted-underline = #ff6600
2020-06-11 14:22:40 +00:00
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
2020-08-04 19:51:15 +00:00
bar-volume-empty-foreground = ${colors.foreground}
2020-06-11 14:22:40 +00:00
[module/battery]
type = internal/battery
battery = BAT1
adapter = ADP1
full-at = 98
2020-08-04 19:51:15 +00:00
format-charging-foreground = ${colors.text}
format-charging = <label-charging>
2020-06-11 14:22:40 +00:00
format-charging-underline = #ffb52a
2020-08-04 19:51:15 +00:00
format-discharging-foreground = ${colors.text}
format-discharging = <label-discharging>
2020-06-11 14:22:40 +00:00
format-discharging-underline = ${self.format-charging-underline}
2020-08-04 19:51:15 +00:00
format-full-foreground = ${colors.text}
format-full-prefix-foreground = ${colors.foreground}
2020-06-11 14:22:40 +00:00
format-full-underline = ${self.format-charging-underline}
[module/spotifyd]
type = custom/ipc
2020-08-04 19:51:15 +00:00
format-foreground = ${colors.text}
format-underline = #00b300
2020-08-04 19:51:15 +00:00
hook-0 = $HOME/.config/polybar/spotifyd-meta.sh
initial = 1
2020-06-11 14:22:40 +00:00
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
2020-08-04 19:51:15 +00:00
pseudo-transparency = false
2020-06-11 14:22:40 +00:00
[global/wm]
margin-top = 5
margin-bottom = 5
; vim:ft=dosini