From ec48ad641053c2533d2360b2184b99398809e603 Mon Sep 17 00:00:00 2001 From: ziro Date: Sun, 19 Apr 2020 12:26:55 +0700 Subject: [PATCH] + Redesigning Polybar, added few more aliases and tweaks to zsh --- .config/polybar/config | 49 ++++++++++++++++++++++++++++++------------ .config/zsh/aliases | 1 + .zshrc | 1 + 3 files changed, 37 insertions(+), 14 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 8ece062..aef5120 100755 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -31,13 +31,15 @@ format-offset = ; D = Darker Color ; L = Lighter Color background = #2f3640 +blackD = #434758 +backgroundD = ${colors.blackD} foreground = #f5f6fa foregroundD = #2f3640 primary = #37b0ff primaryL1 = #60C0FF primaryL2 = #8DD2FE primaryD1 = #0EA0FF -primaryD2 = #0299FB +primaryD2 = #0282d8 secondary1 = #4466ff secondary1L1 = #6B85FF secondary1L2 = #95A8FE @@ -63,7 +65,8 @@ fixed-center = true bottom = false separator = -background = ${colors.background} +background = +;background = ${colors.background} foreground = ${colors.foreground} line-size = 2 @@ -96,11 +99,12 @@ font-2 = "Sarasa Term J:bold:size=9;2" font-3 = "Nimbus Sans:bold:size=9;2" font-4 = "Iosevka Nerd Font:bold:size=9;2" font-5 = "FontAwesome5Free:bold:style=solid:size=9;2" +font-6 = "Nimbus Sans:bold:size=16;2" ; ---------------------------------------------------------------------------------------- -modules-left = previous player-mpris player-mpris-tail mpd volume -modules-center = bspwm -modules-right = wirednetwork temp battery updates date prompt +modules-left = dividerS bspwm dividerS wirednetwork temp dividerS +modules-center = +modules-right = dividerS player-mpris-tail player-mpris mpd volume battery dividerS date prompt ; ---------------------------------------------------------------------------------------- tray-detached = false @@ -110,7 +114,7 @@ tray-position = left tray-padding = 2 tray-maxsize = 13 tray-scale = 1.0 -tray-background = ${colors.secondary1D1} +tray-background = ${colors.background} scroll-up = bspwm-desknext scroll-down = bspwm-deskprev @@ -196,6 +200,22 @@ label-private-foreground = ${colors.foreground} format-foreground = ${colors.foreground} ;format-background = ${colors.background} +[module/dividerS] +type = custom/text +content = "." +content-font = 3 +content-background = ${colors.background} +content-foreground = ${colors.background} +content-padding = 0 + +[module/dividerL] +type = custom/text +content = ".." +content-font = 3 +content-background = ${colors.background} +content-foreground = ${colors.background} +content-padding = 0 + # ----- XWindow ----- [module/xwindow] ;https://github.com/jaagr/polybar/wiki/Module:-xwindow @@ -311,7 +331,7 @@ time-alt = %H:%M format-prefix = " " format =