os/+arch (polybar): tweak polybar for new, darker look
This commit is contained in:
parent
3eb8af2f07
commit
7ba112b315
|
@ -8,8 +8,8 @@
|
||||||
;=====================================================
|
;=====================================================
|
||||||
|
|
||||||
[colors]
|
[colors]
|
||||||
background = #0001040b
|
background = #9912151c
|
||||||
background-alt = #22252c
|
background-alt = #5522354f
|
||||||
foreground = #e5e8e6
|
foreground = #e5e8e6
|
||||||
foreground-alt = ${xrdb:color8}
|
foreground-alt = ${xrdb:color8}
|
||||||
primary = #ffb52a
|
primary = #ffb52a
|
||||||
|
@ -17,13 +17,13 @@ secondary = #e60053
|
||||||
alert = ${xrdb:color5}
|
alert = ${xrdb:color5}
|
||||||
|
|
||||||
[global/wm]
|
[global/wm]
|
||||||
margin-top = 2
|
margin-top = 0
|
||||||
margin-bottom = 0
|
margin-bottom = 0
|
||||||
|
|
||||||
[bar/main]
|
[bar/main]
|
||||||
monitor = ${env:MONITOR:DVI-I-1}
|
monitor = ${env:MONITOR:DVI-I-1}
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 29
|
height = 27
|
||||||
offset-x = 0
|
offset-x = 0
|
||||||
offset-y = 0
|
offset-y = 0
|
||||||
|
|
||||||
|
@ -31,18 +31,17 @@ offset-y = 0
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
overline-size = 2
|
overline-size = 0
|
||||||
overline-color = #f00
|
overline-color = #f00
|
||||||
underline-size = 2
|
underline-size = 0
|
||||||
underline-color = #00f
|
underline-color = #00f
|
||||||
|
|
||||||
border-bottom-size = 0
|
border-bottom-size = 0
|
||||||
border-bottom-color = #333
|
|
||||||
|
|
||||||
padding-left = 1
|
padding-left = 0
|
||||||
padding-right = 1
|
padding-right = 0
|
||||||
module-margin-left = 2
|
module-margin-left = 0
|
||||||
module-margin-right = 2
|
module-margin-right = 0
|
||||||
|
|
||||||
font-0 = "Fira Sans:style=Bold:size=10;1"
|
font-0 = "Fira Sans:style=Bold:size=10;1"
|
||||||
font-1 = "Fira Mono:style=Bold:size=10;1"
|
font-1 = "Fira Mono:style=Bold:size=10;1"
|
||||||
|
@ -50,7 +49,8 @@ font-2 = FontAwesome:fontformat=truetype:size=11;1
|
||||||
|
|
||||||
modules-left = bspwm
|
modules-left = bspwm
|
||||||
modules-center = date
|
modules-center = date
|
||||||
modules-right = eth pkg mail volume redshift
|
modules-right = wlp eth pkg mail volume redshift
|
||||||
|
; modules-right = wlp eth pkg volume redshift
|
||||||
|
|
||||||
enable-ipc = true
|
enable-ipc = true
|
||||||
|
|
||||||
|
@ -118,20 +118,22 @@ ws-icon-default = x
|
||||||
format = <label-state> <label-mode>
|
format = <label-state> <label-mode>
|
||||||
|
|
||||||
label-focused = %icon%
|
label-focused = %icon%
|
||||||
label-focused-background = ${colors.background-alt}
|
; label-focused-background = ${colors.background-alt}
|
||||||
; label-focused-underline= ${colors.primary}
|
; label-focused-underline = ${colors.primary}
|
||||||
label-focused-underline= ${xrdb:color4}
|
; label-focused-foreground = ${xrdb:color2}
|
||||||
label-focused-padding = 3
|
label-focused-padding = 3
|
||||||
|
|
||||||
label-occupied = %icon%
|
label-occupied = %icon%
|
||||||
|
label-occupied-foreground = #aa85678f
|
||||||
label-occupied-padding = 3
|
label-occupied-padding = 3
|
||||||
|
|
||||||
label-urgent = %icon%
|
label-urgent = %icon%
|
||||||
label-urgent-background = ${colors.alert}
|
label-urgent-foreground = ${xrdb:color9}
|
||||||
|
; label-urgent-background = ${colors.alert}
|
||||||
label-urgent-padding = 3
|
label-urgent-padding = 3
|
||||||
|
|
||||||
label-empty = %icon%
|
label-empty = %icon%
|
||||||
label-empty-foreground = ${colors.foreground-alt}
|
label-empty-foreground = #88282a2e
|
||||||
label-empty-padding = 3
|
label-empty-padding = 3
|
||||||
|
|
||||||
[module/i3]
|
[module/i3]
|
||||||
|
@ -142,11 +144,12 @@ wrapping-scroll = false
|
||||||
|
|
||||||
label-mode-padding = 2
|
label-mode-padding = 2
|
||||||
label-mode-foreground = #000
|
label-mode-foreground = #000
|
||||||
label-mode-background = ${colors.primary}
|
; label-mode-background = ${colors.primary}
|
||||||
|
|
||||||
label-focused = %index%
|
label-focused = %index%
|
||||||
label-focused-background = ${module/bspwm.label-focused-background}
|
; label-focused-background = ${module/bspwm.label-focused-background}
|
||||||
label-focused-underline = ${module/bspwm.label-focused-underline}
|
label-focused-foreground = ${xrdb:color4}
|
||||||
|
; label-focused-underline = ${module/bspwm.label-focused-underline}
|
||||||
label-focused-padding = ${module/bspwm.label-focused-padding}
|
label-focused-padding = ${module/bspwm.label-focused-padding}
|
||||||
|
|
||||||
label-unfocused = %index%
|
label-unfocused = %index%
|
||||||
|
@ -239,8 +242,8 @@ ramp-signal-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
[module/eth]
|
[module/eth]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
interface = ${env:ETH:enp0s31f6}
|
interface = ${env:ETH:enp2s0}
|
||||||
interval = 3.0
|
interval = 4.0
|
||||||
|
|
||||||
; format-connected-underline = #55aa55
|
; format-connected-underline = #55aa55
|
||||||
; format-connected-prefix = " "
|
; format-connected-prefix = " "
|
||||||
|
@ -251,6 +254,21 @@ format-disconnected-underline = ${self.format-connected-underline}
|
||||||
label-disconnected = %ifname% disconnected
|
label-disconnected = %ifname% disconnected
|
||||||
label-disconnected-foreground = ${colors.foreground-alt}
|
label-disconnected-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
|
[module/wlp]
|
||||||
|
type = internal/network
|
||||||
|
interface = ${env:WLP:wlp3s0}
|
||||||
|
interval = 4.0
|
||||||
|
|
||||||
|
; format-connected-underline = #55aa55
|
||||||
|
; format-connected-prefix = " "
|
||||||
|
format-connected-foreground-foreground = ${colors.foreground-alt}
|
||||||
|
label-connected = %local_ip%
|
||||||
|
|
||||||
|
format-disconnected-underline = ${self.format-connected-underline}
|
||||||
|
label-disconnected = %ifname% disconnected
|
||||||
|
label-disconnected-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
|
|
||||||
[module/date]
|
[module/date]
|
||||||
type = internal/date
|
type = internal/date
|
||||||
interval = 5
|
interval = 5
|
||||||
|
@ -387,19 +405,22 @@ menu-2-1-exec = menu-open-0
|
||||||
[module/pkg]
|
[module/pkg]
|
||||||
type = custom/ipc
|
type = custom/ipc
|
||||||
format = <output>
|
format = <output>
|
||||||
|
format-padding = 3
|
||||||
hook-0 = ~/.config/polybar/modules/updates
|
hook-0 = ~/.config/polybar/modules/updates
|
||||||
initial = 1
|
initial = 1
|
||||||
|
|
||||||
[module/mail]
|
[module/mail]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
interval = 120
|
interval = 300
|
||||||
format = <label>
|
format = <label>
|
||||||
|
format-padding = 3
|
||||||
format-prefix-foreground = ${colors.foreground-alt}
|
format-prefix-foreground = ${colors.foreground-alt}
|
||||||
exec = ~/.config/polybar/modules/mail
|
exec = ~/.config/polybar/modules/mail
|
||||||
|
|
||||||
[module/redshift]
|
[module/redshift]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
interval = 30
|
interval = 30
|
||||||
|
format-padding = 3
|
||||||
exec = ~/.config/polybar/modules/redshift
|
exec = ~/.config/polybar/modules/redshift
|
||||||
exec-if = "pgrep redshift >/dev/null"
|
exec-if = "pgrep redshift >/dev/null"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue