1
0
Fork 0
dotfiles/polybar/config

143 lines
2.5 KiB
Text

[local]
include-file = /home/jdkaplan/.config/polybar/local
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #555
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
[bar/eDP1]
inherit = mixins/bar
monitor = eDP1
[bar/DP2-1]
inherit = mixins/bar
monitor = DP2-1
[bar/DP2-2]
inherit = mixins/bar
monitor = DP2-2
[mixins/bar]
bottom = true
fixed-center = false
width = 100%
height = 24
offset-x = 0
offset-y = 0
background = ${colors.background}
foreground = ${colors.foreground}
radius = 0
line-size = 1
line-color = #f00
border-size = 1
border-color = #00000000
padding = 0
module-margin = 1
font-0 = NotoSans-Regular:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
modules-left = i3
modules-center =
modules-right = wlan volume battery date
[global/wm]
margin-bottom = 0
[settings]
screenchange-reload = true
[module/i3]
type = internal/i3
pin-workspaces = true
enable-click = true
enable-scroll = false
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 2
label-unfocused = %index%
label-unfocused-padding = 2
label-occupied = %index%
label-occupied-padding = 2
label-urgent = %index%
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %index%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
[module/wlan]
type = internal/network
interface = ${local.wlan_interface}
format-connected = <label-connected>
format-connected-underline = #9f78e1
label-connected = %essid% %local_ip%
format-disconnected = <label-disconnected>
[module/eth]
type = internal/network
interface = ${local.eth_interface}
format-connected-underline = #55aa55
label-connected = %local_ip%
format-disconnected = <label-disconnected>
[module/date]
type = internal/date
interval = 1
date = %a %b %d
time = %H:%M:%S
format-underline = #0a6cf5
label = %date% %time%
[module/volume]
type = internal/volume
format-volume = <label-volume>
format-volume-underline = #e83c3a
label-volume = Vol: %percentage%%
label-volume-foreground = ${root.foreground}
label-muted = Vol: %percentage%-
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = ${local.battery_full}
format-charging = <label-charging>
format-charging-underline = #2affb5
format-discharging = <label-discharging>
format-discharging-underline = #ffb52a
format-full-underline = ${self.format-charging-underline}