From 6c410d7363e257e9c9cdc97fb80fd69a59b3ecd3 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sat, 28 Aug 2021 16:54:09 +0200 Subject: polybar --- polybar/config | 52 ++++++++++------------------------------------------ 1 file changed, 10 insertions(+), 42 deletions(-) (limited to 'polybar') diff --git a/polybar/config b/polybar/config index b51983f..d5a6db9 100644 --- a/polybar/config +++ b/polybar/config @@ -9,7 +9,7 @@ primary = #ffb52a secondary = #e60053 alert = #bd2c40 -[bar/main] +[bar/template] monitor = ${env:MONITOR:} width = 100% height = 25 @@ -34,15 +34,8 @@ font-0 = DejaVu Sans Mono for Powerline:pixelsize=10;3 font-1 = unifont:fontformat=truetype:size=10:antialias=false;0 font-2 = siji:pixelsize=10;1 -modules-left = xwindow date powermenu -modules-center = i3 -modules-right = filesystem backlight-acpi pulseaudio memory cpu wlan eth battery temperature xkeyboard - separator = | -tray-position = right -tray-padding = 2 - wm-restack = i3 bottom = true @@ -50,46 +43,21 @@ scroll-up = i3wm-wsnext scroll-down = i3wm-wsprev cursor-click = pointer +[bar/main] +inherit = bar/template +modules-left = xwindow date powermenu +modules-center = i3 +modules-right = filesystem backlight-acpi pulseaudio memory cpu wlan eth battery temperature xkeyboard -[bar/secondary] -monitor = ${env:MONITOR:} -width = 100% -height = 25 -fixed-center = true - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 3 -line-color = #f00 - -;border-size = 4 -Iborder-color = #00000000 - -padding-left = 0 -padding-right = 2 - -module-margin-left = 1 -module-margin-right = 1 - -font-0 = DejaVu Sans Mono for Powerline:pixelsize=10;3 -font-1 = unifont:fontformat=truetype:size=10:antialias=false;0 -font-2 = siji:pixelsize=10;1 +tray-position = right +tray-padding = 2 +[bar/secondary] +inherit = bar/template modules-left = xwindow modules-center = i3 modules-right = -separator = | - -wm-restack = i3 -bottom = true - -scroll-up = i3wm-wsnext -scroll-down = i3wm-wsprev - -cursor-click = pointer - [module/xwindow] type = internal/xwindow format =