dtfscripts, bspwm: Use envvars to set border width and window gap

This commit is contained in:
Salt 2018-08-29 23:00:51 -05:00
parent 79184b0ce8
commit 89e33c31f8
2 changed files with 3 additions and 2 deletions

View File

@ -43,8 +43,8 @@ bspc config pointer_action2 resize_corner #RMB
## Looks ## Looks
# Padding # Padding
bspc config border_width 2 bspc config border_width ${BSPWM_BORDER_WIDTH:-2}
bspc config window_gap 8 bspc config window_gap ${BSPWM_WINDOW_GAP:-8}
bspc config single_monocle false bspc config single_monocle false
bspc config borderless_monocle false bspc config borderless_monocle false
bspc config gapless_monocle true bspc config gapless_monocle true

View File

@ -39,6 +39,7 @@ unset PB_MODULE_WLAN_INTERFACE
# bspwm monitorset.sh # bspwm monitorset.sh
unset BSPWM_DESKTOPS_TOTAL unset BSPWM_DESKTOPS_TOTAL
unset BSPWM_DESKTOPS_PRIMARY unset BSPWM_DESKTOPS_PRIMARY
unset BSPWM_COSMETIC_GAPS
function dtf_log() { function dtf_log() {
name="$(basename $0 .sh)" name="$(basename $0 .sh)"