From 5b9291d1be5954e5e63e04dbf229719b501ca300 Mon Sep 17 00:00:00 2001 From: doryan Date: Thu, 3 Oct 2024 00:43:08 +0400 Subject: [PATCH] feat(colors): change colorscheme + font + add calendar --- polybar/config.ini | 45 +++++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/polybar/config.ini b/polybar/config.ini index 36969e2..7a4e124 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -17,42 +17,37 @@ ;========================================================== [colors] -background = #353F5D -background-alt = #414D72 -foreground = #C8C7D1 -primary = #FFCC4D -secondary = #FF7FA3 -alert = #A54242 -disabled = #707880 +background = #333333 +background-alt = #2E2E2E +foreground = #8C8C8C +primary = #93D4C5 +secondary = #E0A3B6 +alert = #E7A063 +disabled = #9DA991 [bar/example] width = 100% -height = 18pt -radius = 11t +height = 22pt ; dpi = 96 background = ${colors.background} foreground = ${colors.foreground} -line-size = 1pt - -border-size = 4pt -border-color = #00000000 +line-size = 2pt padding-left = 0 padding-right = 1 module-margin = 1 -separator = | separator-foreground = ${colors.disabled} -font-0 = "FiraCode Nerd Font:size=10;2" +font-0 = "JetBrainsMonoNL Nerd Font:size=10;2" modules-left = xworkspaces modules-center = xwindow -modules-right = memory cpu pulseaudio xkeyboard wlan eth date battery powermenu +modules-right = memory cpu pulseaudio xkeyboard wlan eth date calendar battery powermenu cursor-click = pointer cursor-scroll = ns-resize @@ -186,9 +181,9 @@ ramp-signal-5 = 󰤨 inherit = network-base interface-type = wired -format-connected = %{} +format-connected = -format-connected-prefix = 󰈀 +format-connected-prefix = "󰈀 " format-connected-prefix-foreground = ${colors.primary} label-connected = %local_ip% @@ -199,11 +194,21 @@ type = internal/date interval = 1 date = %H:%M -date-alt = %Y-%m-%d %H:%M:%S label = %date% label-foreground = ${colors.primary} +[module/calendar] +type = custom/script +label = %output:0:15:...% +format-prefix = "󱁳 " +format-prefix-foreground = ${colors.primary} +format =