Terminals are cooler on the bottom in a more column-based environment
This commit is contained in:
parent
6819fd4be2
commit
0f45025381
|
@ -465,8 +465,8 @@ if has('nvim')
|
||||||
split
|
split
|
||||||
terminal
|
terminal
|
||||||
else
|
else
|
||||||
vsplit
|
split
|
||||||
vertical resize 80
|
resize 24
|
||||||
terminal
|
terminal
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
|
@ -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 GAP=$(bspc wm -d | grep -Po '(windowGap.*?,)' | grep -Po '\d*' | head -n 1)
|
||||||
|
|
||||||
export BAR_BOTTOM="false"
|
export BAR_BOTTOM="false"
|
||||||
|
export BAR_VERTICAL_MARGIN=0
|
||||||
export POS_Y=0
|
export POS_Y=0
|
||||||
|
|
||||||
# allow a per-device config to override options
|
# 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 BAR_WIDTH=$((MONITOR_WIDTH - GAP - GAP - BAR_SIDE_MARGIN - BAR_SIDE_MARGIN))
|
||||||
export POS_X=$((GAP + 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 we just want the variables set here, pass an argument
|
||||||
if [ $# -gt 0 ]; then
|
if [ $# -gt 0 ]; then
|
||||||
|
|
Reference in a new issue