mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
polybar: rename config
This commit is contained in:
parent
4382c67b0f
commit
8a4c47356d
2 changed files with 1 additions and 1 deletions
169
polybar/config
169
polybar/config
|
|
@ -1,169 +0,0 @@
|
|||
[config]
|
||||
padding = 2
|
||||
|
||||
background = #222222
|
||||
background-alt = #444444
|
||||
foreground = #cdcdcd
|
||||
foreground-alt = #7d7d7d
|
||||
|
||||
date = %%{F#7d7d7d}%Y-%m-%d%%{F-} %%{F#cdcdcd}%H:%M%%{F-}
|
||||
date-alt = %%{F#7d7d7d}%A, %d %B %Y %%{F#cdcdcd}%H:%M:%S%%{F-}
|
||||
|
||||
[bar/top]
|
||||
;monitor = ${env:MONITOR:HDMI-1}
|
||||
width = 100%
|
||||
height = 30
|
||||
radius = 0
|
||||
fixed-center = true
|
||||
|
||||
background = ${config.background}
|
||||
foreground = ${config.foreground}
|
||||
|
||||
line-size = 2
|
||||
|
||||
border-size = 0
|
||||
|
||||
padding-left = 0
|
||||
padding-right = ${config.padding}
|
||||
|
||||
module-margin-left = 4
|
||||
module-margin-right = 4
|
||||
|
||||
font-0 = NotoSans-Regular:size=11;1
|
||||
font-1 = FontAwesome:size=10;2
|
||||
font-2 = Unifont:size=9;1
|
||||
|
||||
modules-left = i3 xwindow
|
||||
modules-right = xkeyboard volume wlan eth battery date
|
||||
|
||||
;i3
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
format = <label-state><label-mode>
|
||||
index-sort = true
|
||||
wrapping-scroll = false
|
||||
strip-wsnumbers = true
|
||||
|
||||
; Only show workspaces on the same output as the bar
|
||||
;pin-workspaces = true
|
||||
|
||||
label-mode-padding = ${config.padding}
|
||||
label-mode-foreground = ${config.foreground}
|
||||
label-mode-background = ${config.background-alt}
|
||||
label-mode-underline = ${config.foreground}
|
||||
|
||||
; focused = Active workspace on focused monitor
|
||||
label-focused = %index%
|
||||
label-focused-background = ${config.background-alt}
|
||||
label-focused-underline = ${config.foreground}
|
||||
label-focused-padding = ${config.padding}
|
||||
|
||||
; unfocused = Inactive workspace on any monitor
|
||||
label-unfocused = %index%
|
||||
label-unfocused-padding = ${self.label-focused-padding}
|
||||
|
||||
; visible = Active workspace on unfocused monitor
|
||||
label-visible = %index%
|
||||
label-visible-background = ${self.label-focused-background}
|
||||
label-visible-underline = ${self.label-focused-underline}
|
||||
label-visible-padding = ${self.label-focused-padding}
|
||||
|
||||
; urgent = Workspace with urgency hint set
|
||||
label-urgent = %index%
|
||||
label-urgent-background = ${self.label-focused-background}
|
||||
label-urgent-padding = ${self.label-focused-padding}
|
||||
|
||||
;title
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title:0:100:...%
|
||||
|
||||
;lang
|
||||
[module/xkeyboard]
|
||||
type = internal/xkeyboard
|
||||
format = <label-indicator><label-layout>
|
||||
blacklist-0 = num lock
|
||||
label-layout-padding = ${config.padding}
|
||||
label-layout-underline = ${config.foreground}
|
||||
label-indicator-font = 1
|
||||
label-indicator-on =
|
||||
label-indicator-underline = ${config.foreground}
|
||||
|
||||
;network
|
||||
[module/wlan]
|
||||
type = internal/network
|
||||
interface = wlp0s20f3
|
||||
interval = 3.0
|
||||
|
||||
format-connected = <ramp-signal> <label-connected>
|
||||
label-connected = %essid%
|
||||
|
||||
ramp-signal-0 =
|
||||
ramp-signal-1 =
|
||||
ramp-signal-2 =
|
||||
ramp-signal-3 =
|
||||
ramp-signal-4 =
|
||||
ramp-signal-foreground = ${config.foreground}
|
||||
|
||||
[module/eth]
|
||||
type = internal/network
|
||||
interface = enp4s0
|
||||
interval = 3.0
|
||||
|
||||
format-connected-prefix = " "
|
||||
format-connected-prefix-foreground = ${config.foreground}
|
||||
label-connected = %local_ip%
|
||||
|
||||
;volume
|
||||
[module/volume]
|
||||
type = internal/pulseaudio
|
||||
|
||||
click-right = pavucontrol
|
||||
|
||||
format-volume = <label-volume> <bar-volume>
|
||||
label-volume =
|
||||
bar-volume-font = 1
|
||||
label-volume-foreground = ${config.foreground}
|
||||
|
||||
format-muted-foreground = ${config.background-alt}
|
||||
label-muted = ━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
bar-volume-width = 20
|
||||
bar-volume-foreground-0 = #555
|
||||
bar-volume-foreground-1 = #666
|
||||
bar-volume-foreground-2 = #777
|
||||
bar-volume-foreground-3 = #888
|
||||
bar-volume-foreground-4 = #999
|
||||
bar-volume-foreground-5 = #aaa
|
||||
bar-volume-foreground-6 = ${config.foreground}
|
||||
bar-volume-gradient = false
|
||||
bar-volume-indicator =
|
||||
bar-volume-fill = ━
|
||||
bar-volume-empty = ━
|
||||
bar-volume-empty-foreground = ${config.background-alt}
|
||||
|
||||
;battery
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
battery = BAT0
|
||||
full-at = 98
|
||||
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
format-full = <ramp-capacity> <label-full>
|
||||
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-0-foreground = #ff4242
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
|
||||
animation-charging-0 = ""
|
||||
animation-charging-framerate = 10000
|
||||
|
||||
;time date
|
||||
[module/date]
|
||||
type = internal/date
|
||||
date = ${config.date}
|
||||
date-alt = ${config.date-alt}
|
||||
Loading…
Add table
Add a link
Reference in a new issue