From 0f450253814a1743ec6e4048762a68605ee306d4 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 27 Jul 2017 11:52:54 -0500 Subject: [PATCH] Terminals are cooler on the bottom in a more column-based environment --- apps/neovim/init.vim | 4 ++-- de/bar/bar.bash | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/neovim/init.vim b/apps/neovim/init.vim index 87389fe..88afc01 100644 --- a/apps/neovim/init.vim +++ b/apps/neovim/init.vim @@ -465,8 +465,8 @@ if has('nvim') split terminal else - vsplit - vertical resize 80 + split + resize 24 terminal endif endfunction diff --git a/de/bar/bar.bash b/de/bar/bar.bash index 539456b..e410538 100755 --- a/de/bar/bar.bash +++ b/de/bar/bar.bash @@ -17,6 +17,7 @@ export BAR_ICON_FONT_DECLARATION="${BAR_ICON_FONT}:size=${BAR_ICON_FONT_SIZE};1" export GAP=$(bspc wm -d | grep -Po '(windowGap.*?,)' | grep -Po '\d*' | head -n 1) export BAR_BOTTOM="false" +export BAR_VERTICAL_MARGIN=0 export POS_Y=0 # allow a per-device config to override options @@ -27,7 +28,7 @@ fi export BAR_WIDTH=$((MONITOR_WIDTH - GAP - GAP - BAR_SIDE_MARGIN - BAR_SIDE_MARGIN)) export POS_X=$((GAP + BAR_SIDE_MARGIN)) -export EHEIGHT=$((BAR_HEIGHT + GAP)) +export EHEIGHT=$((BAR_HEIGHT + GAP + BAR_VERTICAL_MARGIN)) # if we just want the variables set here, pass an argument if [ $# -gt 0 ]; then