From 8bb775a579757a6a0bda8e3bc4f5c2f25793d237 Mon Sep 17 00:00:00 2001 From: listout Date: Sat, 13 Aug 2022 16:13:06 +0530 Subject: polybar: change to tokyonight color and some bar modifications Signed-off-by: listout --- .config/polybar/config.ini | 167 +++++++++++++++++++++------------------------ 1 file changed, 79 insertions(+), 88 deletions(-) diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index fd5c8fa..0ad3867 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -3,49 +3,30 @@ ;--------; [colors] -nord0 = #2e3440 -nord1 = #3b4252 -nord2 = #434c5e -nord3 = #4c566a -nord4 = #d8dee9 -nord5 = #e5e9f0 -nord6 = #eceff4 -nord7 = #8fbcbb -nord8 = #88c0d0 -nord9 = #81a1c1 -nord10 = #5e81ac -nord11 = #bf616a -nord12 = #d08770 -nord13 = #ebcb8b -nord14 = #a3be8c -nord15 = #b48ead - -background-dark = #1b1f26 -background = ${colors.nord3} -background-light = ${colors.nord6} -foreground = #fff +color0 = #1D202F +color1 = #f7768e +color2 = #9ece6a +color3 = #e0af68 +color4 = #7aa2f7 +color5 = #bb9af7 +color6 = #7dcfff +color7 = #a9b1d6 +color8 = #414868 +color9 = #f7768e +color10 = #9ece6a +color11 = #e0af68 +color12 = #7aa2f7 +color13 = #bb9af7 +color14 = #7dcfff +color15 = #c0caf5 + +background-dark = #24283b +foreground = #c0caf5 primary = #4c566a secondary = #f05 alert = #bd2c40 accent = #bf616a -red = ${colors.nord11} -green = ${colors.nord14} -orange = ${colors.nord12} -yellow = ${colors.nord13} -blue = ${colors.nord10} -turkoise = ${colors.nord7} -purple = ${colors.nord15} - -battery = ${colors.yellow} -cpu = ${colors.red} -ram = ${colors.green} -temp = ${colors.orange} -wifi = ${colors.blue} -date = ${colors.turkoise} -time = ${colors.purple} -power = ${colors.nord6} - [bar/external] ;------------; @@ -53,11 +34,12 @@ power = ${colors.nord6} ;------------; width = 100% -height = 30 +height = 25 offset-y = 0 offset-x = 0 -border-size = 0 +border-size = 5 +border-color = ${colors.background-dark} background = ${colors.background-dark} foreground = ${colors.foreground} @@ -74,10 +56,10 @@ override-redirect = false ; FONTS ; ;-------; -font-0 = "TamzenForPowerline:size=12;2" -font-1 = "Font Awesome 6 Free:size=11;3" -font-2 = "Font Awesome 6 Free Solid:size=11;3" -font-3 = "Font Awesome 6 Brands:size=11;3" +font-0 = "Mono:bold:size=10;2" +font-1 = "Font Awesome 6 Free:size=12;3" +font-2 = "Font Awesome 6 Free Solid:size=12;3" +font-3 = "Font Awesome 6 Brands:size=12;3" ;---------; ; MODULES ; @@ -87,6 +69,15 @@ modules-right = cpu temperature pulseaudio date modules-left = battery network memory modules-center = bspwm +;---------------; +; MISCELLANEOUS ; +;---------------; + +fixed-center = true +tray-position = right +tray-detached = false +module-margin-left = 1 + [bar/laptop] ;------------; @@ -94,7 +85,7 @@ modules-center = bspwm ;------------; width = 100% -height = 30 +height = 25 offset-y = 0 offset-x = 0 @@ -115,10 +106,10 @@ override-redirect = false ; FONTS ; ;-------; -font-0 = "Dina:pixelsize=11;1" -font-1 = "Font Awesome 6 Free:size=10:1" -font-2 = "Font Awesome 6 Free Solid:size=10:1" -font-3 = "Font Awesome 6 Brands:size=10:1" +font-0 = "Mono:bold:size=10;1" +font-1 = "Font Awesome 6 Free:size=10;2" +font-2 = "Font Awesome 6 Free Solid:size=11;2" +font-3 = "Font Awesome 6 Brands:size=11;2" ;---------; ; MODULES ; @@ -151,18 +142,18 @@ time-format=%H:%M label-discharging= %time% %percentage% label-charging= %time% %percentage% -label-full=BAT0: %percentage% +label-full= %percentage% -label-full-foreground = ${colors.foreground} -label-full-background = ${colors.background-dark} +label-full-foreground = ${colors.color0} +label-full-background = ${colors.color4} label-full-padding = 2 -label-charging-foreground = ${colors.foreground} -label-charging-background = ${colors.background-dark} +label-charging-foreground = ${colors.color0} +label-charging-background = ${colors.color4} label-charging-padding = 2 -label-discharging-foreground = ${colors.foreground} -label-discharging-background = ${colors.background-dark} +label-discharging-foreground = ${colors.color0} +label-discharging-background = ${colors.color4} label-discharging-padding = 2 format-discharging= @@ -177,24 +168,24 @@ time=%I:%M time-alt=%I:%M:%S %A, %d %B %Y format=