From 54b9d517e1fea4e92315b8499d4254a8e53da6ba Mon Sep 17 00:00:00 2001 From: CramMK Date: Wed, 6 May 2020 11:37:15 +0200 Subject: [PATCH] Polybar Changes --- dotfiles/polybar/config | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/dotfiles/polybar/config b/dotfiles/polybar/config index d973950..1615ba5 100644 --- a/dotfiles/polybar/config +++ b/dotfiles/polybar/config @@ -21,15 +21,6 @@ nord0_trans = #f02E3440 frost2 = #ECEFF4 -black = #000000 -red = #BF616A -green = #8ce10b -yellow = #ffb900 -blue = #008df8 -magenta = #6d43a6 -cyan = #00d8eb -white = #fff - dark_bg = #f018191E accent = ${colors.nord_green} @@ -54,6 +45,7 @@ font-1 = ${font.inconsolata_nerd} bottom = false fixed-center = true + width = 100% height = 27 @@ -100,12 +92,12 @@ modules-center = modules-right = ############################################################################### -[bar/HDMI1_top] +[bar/external_top] inherit = bar/laptop_top tray-position = none -monitor = "HDMI-1" +monitor = ${env:MONITOR:} modules-left = i3tabs modules-center = @@ -113,14 +105,14 @@ modules-right = volume battery date time separator = ############################################################################### -[bar/HDMI1_bottom] +[bar/external_bottom] inherit = bar/laptop_top tray-position = none bottom = true -monitor = "HDMI-1" +monitor = ${env:MONITOR:} modules-left = title modules-center = @@ -157,7 +149,7 @@ label-focused-background = ${colors.accent} label-focused-padding = 1 label-unfocused = %index% -label-unfocused-foreground = ${colors.white} +label-unfocused-foreground = ${colors.frost2} label-unfocused-background = ${self.background} label-unfocused-padding = 1 @@ -167,7 +159,7 @@ label-visible-background = ${self.background} label-visible-padding = 1 label-urgent = %index% -label-urgent-foreground = ${colors.red} +label-urgent-foreground = ${colors.nord_red} label-urgent-background = ${self.background} label-urgent-padding = 1 @@ -185,10 +177,10 @@ interval = 1.0 date = %Y-%m-%d% date-alt = %A, %d %B %Y -format-underline = ${colors.frost2} - +label-underline = ${colors.frost2} label-foreground = ${colors.modules_fg} -label = %date% + +label = 冀 %date% ############################################################################### [module/time] @@ -198,7 +190,7 @@ interval = 1.0 time = %H:%M -label = %time% +label =  %time% label-font = 0 label-foreground = ${colors.modules_fg} @@ -221,7 +213,7 @@ apdapter = ADP1 format-charging = format-charging-foreground = ${colors.nord_green} -label-charging =  %percentage%% +label-charging = %percentage%%  format-discharging = format-discharging-foreground = ${colors.nord_green} @@ -289,7 +281,8 @@ interval = 2 ############################################################################### [module/powermenu] type = custom/text -content = "⏻" +content = "" +;content = "" click-left = polybar powermenu [bar/powermenu]