This commit is contained in:
zoe 2022-04-03 14:37:27 +02:00
parent e6d5d22be0
commit daf67feede
1 changed files with 37 additions and 29 deletions

View File

@ -24,6 +24,14 @@ primary = #f8f8f2
secondary = #ff79c6 secondary = #ff79c6
alert = #ff5555 alert = #ff5555
disabled = #6272a4 disabled = #6272a4
green = #50fa7b
cyan = #8be9fd
orange = #ffb86c
pink = #ff79c6
purple = #bd93f9
red = #ff5555
yellow = #f1fa8c
white = #f8f8f2
[bar/bar] [bar/bar]
width = 100% width = 100%
@ -40,28 +48,28 @@ line-size = 0pt
border-size = 0 border-size = 0
border-color = #00000000 border-color = #00000000
padding-left = 2 padding-left = 0
padding-right = 2 padding-right = 0
module-margin = 2 module-margin = 1
separator = separator =
separator-foreground = ${colors.disabled} separator-foreground = ${colors.disabled}
font-0 = Recursive Sans Casual Static: size=11; 3 font-0 = Recursive Sans Casual Static: size=11; 3
font-1 = "CaskaydiaCove NerdFont:size=11; 3" font-1 = "CaskaydiaCove Nerd Font Mono:size=11; 3"
modules-left = i3 xwindow modules-left = i3 xwindow
modules-center = player-mpris-tail modules-center = player-mpris-tail
modules-right = pulseaudio xkeyboard memory cpu wlan eth date modules-right = pulseaudio xkeyboard memory cpu date
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
enable-ipc = true enable-ipc = true
tray-position = right tray-position = left
wm-restack = i3 wm-restack = i3
@ -88,7 +96,7 @@ label-separator-foreground = ${colors.disabled}
[module/xwindow] [module/xwindow]
type = internal/xwindow type = internal/xwindow
label = %title:0:60:...% label = %title:0:24:...%
[module/player-mpris-tail] [module/player-mpris-tail]
type = custom/script type = custom/script
@ -102,48 +110,46 @@ click-middle = $HOME/.config/polybar/player-mpris-tail.py play-pause &
[module/pulseaudio] [module/pulseaudio]
type = internal/pulseaudio type = internal/pulseaudio
format-volume-prefix = "蓼 "
format-volume-prefix-foreground = ${colors.primary}
format-volume = <label-volume> format-volume = <label-volume>
label-volume = %percentage%% label-volume =蓼 %percentage%%
label-volume-background = ${colors.pink}
label-volume-foreground = ${colors.background}
label-volume-padding = 1
label-muted = label-muted =
label-muted-foreground = ${colors.disabled} label-muted-foreground = ${colors.disabled}
label-muted-background = ${colors.red}
click-right = pavucontrol click-right = pavucontrol
label-muted-padding = 1
[module/xkeyboard] [module/xkeyboard]
type = internal/xkeyboard type = internal/xkeyboard
blacklist-0 = num lock blacklist-0 = num lock
label-layout = %layout% label-layout = %layout%
label-layout-foreground = ${colors.primary} label-layout-foreground = ${colors.background}
label-layout-background = ${colors.purple}
label-layout-padding = 1
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-foreground = ${colors.background} label-indicator-foreground = ${colors.background}
label-indicator-background = ${colors.secondary} label-indicator-background = ${colors.secondary}
[module/memory] [module/memory]
type = internal/memory type = internal/memory
interval = 2 interval = 2
format-prefix = " " label =%percentage_used:2%%
format-prefix-foreground = ${colors.primary} label-background = ${colors.orange}
label = %percentage_used:2%% label-foreground = ${colors.background}
label-padding = 1
[module/cpu] [module/cpu]
type = internal/cpu type = internal/cpu
interval = 2 interval = 20
format-prefix = " " label = %percentage:2%%
format-prefix-foreground = ${colors.primary} label-background = ${colors.green}
label = %percentage:2%% label-foreground = ${colors.background}
label-padding = 1
[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
[module/date] [module/date]
type = internal/date type = internal/date
@ -153,7 +159,9 @@ date = %H:%M
date-alt = %Y-%m-%d %H:%M:%S date-alt = %Y-%m-%d %H:%M:%S
label =﨟 %date% label =﨟 %date%
label-foreground = ${colors.primary} label-foreground = ${colors.background}
label-background = ${colors.cyan}
label-padding = 1
[settings] [settings]
screenchange-reload = true screenchange-reload = true