From 89e33c31f83960416eaf71e356670a1e25b3c0b1 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 29 Aug 2018 23:00:51 -0500 Subject: [PATCH] dtfscripts, bspwm: Use envvars to set border width and window gap --- .config/bspwm/bspwmrc | 4 ++-- .config/dtfscripts/dtfscript | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 3d52c285..2c0d18a1 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -43,8 +43,8 @@ bspc config pointer_action2 resize_corner #RMB ## Looks # Padding -bspc config border_width 2 -bspc config window_gap 8 +bspc config border_width ${BSPWM_BORDER_WIDTH:-2} +bspc config window_gap ${BSPWM_WINDOW_GAP:-8} bspc config single_monocle false bspc config borderless_monocle false bspc config gapless_monocle true diff --git a/.config/dtfscripts/dtfscript b/.config/dtfscripts/dtfscript index a4f21449..ff7075b8 100755 --- a/.config/dtfscripts/dtfscript +++ b/.config/dtfscripts/dtfscript @@ -39,6 +39,7 @@ unset PB_MODULE_WLAN_INTERFACE # bspwm monitorset.sh unset BSPWM_DESKTOPS_TOTAL unset BSPWM_DESKTOPS_PRIMARY +unset BSPWM_COSMETIC_GAPS function dtf_log() { name="$(basename $0 .sh)"