feat(colors): change colorscheme + font + add calendar

This commit is contained in:
doryan 2024-10-03 00:43:08 +04:00
parent f9e30792ac
commit 5b9291d1be

View File

@ -17,42 +17,37 @@
;========================================================== ;==========================================================
[colors] [colors]
background = #353F5D background = #333333
background-alt = #414D72 background-alt = #2E2E2E
foreground = #C8C7D1 foreground = #8C8C8C
primary = #FFCC4D primary = #93D4C5
secondary = #FF7FA3 secondary = #E0A3B6
alert = #A54242 alert = #E7A063
disabled = #707880 disabled = #9DA991
[bar/example] [bar/example]
width = 100% width = 100%
height = 18pt height = 22pt
radius = 11t
; dpi = 96 ; dpi = 96
background = ${colors.background} background = ${colors.background}
foreground = ${colors.foreground} foreground = ${colors.foreground}
line-size = 1pt line-size = 2pt
border-size = 4pt
border-color = #00000000
padding-left = 0 padding-left = 0
padding-right = 1 padding-right = 1
module-margin = 1 module-margin = 1
separator = |
separator-foreground = ${colors.disabled} separator-foreground = ${colors.disabled}
font-0 = "FiraCode Nerd Font:size=10;2" font-0 = "JetBrainsMonoNL Nerd Font:size=10;2"
modules-left = xworkspaces modules-left = xworkspaces
modules-center = xwindow 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-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
@ -186,9 +181,9 @@ ramp-signal-5 = 󰤨
inherit = network-base inherit = network-base
interface-type = wired interface-type = wired
format-connected = %{} <label-connected> format-connected = <label-connected>
format-connected-prefix = 󰈀 format-connected-prefix = "󰈀 "
format-connected-prefix-foreground = ${colors.primary} format-connected-prefix-foreground = ${colors.primary}
label-connected = %local_ip% label-connected = %local_ip%
@ -199,11 +194,21 @@ type = internal/date
interval = 1 interval = 1
date = %H:%M date = %H:%M
date-alt = %Y-%m-%d %H:%M:%S
label = %date% label = %date%
label-foreground = ${colors.primary} label-foreground = ${colors.primary}
[module/calendar]
type = custom/script
label = %output:0:15:...%
format-prefix = "󱁳 "
format-prefix-foreground = ${colors.primary}
format = <label>
exec = date "+%d %b %Y"
click-left = ~/.config/polybar/calendar curr
scroll-up = ~/.config/polybar/calendar next
scroll-down = ~/.config/polybar/calendar prev
[module/battery] [module/battery]
type = internal/battery type = internal/battery
@ -338,6 +343,6 @@ pseudo-transparency = true
type = custom/text type = custom/text
content = " " content = " "
content-foreground = ${colors.urgent} content-foreground = ${colors.primary}
click-left = ~/.config/rofi/power/launch.sh click-left = ~/.config/rofi/power/launch.sh