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