From 3d0f22aafe89f97038f29e9628d82db6f5bbdea0 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 19 Aug 2018 18:56:46 -0500 Subject: [PATCH] Polybar, Conky: Adjust padding using borders, bump Conky up to compensate --- .config/conky/primary.conf | 2 +- .config/polybar/config | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.config/conky/primary.conf b/.config/conky/primary.conf index 35063ba5..7de5d88b 100644 --- a/.config/conky/primary.conf +++ b/.config/conky/primary.conf @@ -31,7 +31,7 @@ conky.config = { minimum_width = 304, border_width = 6, gap_x = 30, - gap_y = 64, + gap_y = 70, format_human_readable = true, diff --git a/.config/polybar/config b/.config/polybar/config index 2030ee98..48216ae5 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -66,6 +66,8 @@ tray-maxsize = 16 # Mild cosmetics background = ${res/colors.background} foreground = ${res/colors.foreground} +border-color = ${res/colors.background} +border-size = 6 overline-size = 6 underline-size = 6 @@ -82,6 +84,8 @@ font-4 = ${res/fonts.font-4} monitor = ${env:PB_MONITOR:eDP-1} inherit = template/bar +border-top-size = 0 + modules-left = ${env:PB_BAR_PRIMARY_MODULES_LEFT:cpu memory} modules-center = ${env:PB_BAR_PRIMARY_MODULES_CENTER: bspwm} modules-right = ${env:PB_BAR_PRIMARY_MODULES_RIGHT:volume battery date} @@ -91,6 +95,7 @@ monitor = ${env:PB_MONITOR:eDP-1} inherit = template/bar bottom = false +border-bottom-size = 0 modules-left = ${env:PB_BAR_PRIMARY_2_MODULES_LEFT: } modules-center = ${env:PB_BAR_PRIMARY_2_MODULES_CENTER: } @@ -100,6 +105,8 @@ modules-right = ${env:PB_BAR_PRIMARY_2_MODULES_RIGHT: } monitor = ${env:PB_MONITOR} inherit = template/bar +border-top-size = 0 + modules-left = ${env:PB_BAR_SECONDARY_MODULES_LEFT: } modules-center = ${env:PB_BAR_SECONDARY_MODULES_CENTER: } modules-right = ${env:PB_BAR_SECONDARY_MODULES_RIGHT:date} @@ -109,6 +116,7 @@ monitor = ${env:PB_MONITOR} inherit = template/bar bottom = false +border-bottom-size = 0 modules-left = ${env:PB_BAR_SECONDARY_2_MODULES_LEFT:bspwm} modules-center = ${env:PB_BAR_SECONDARY_2_MODULES_CENTER:xwindow}