Split horizontal and vertical in padding script
This commit is contained in:
parent
c6dcbfd91d
commit
3c359c37ea
1 changed files with 10 additions and 1 deletions
11
bin/padding
11
bin/padding
|
@ -1,6 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
h=0
|
||||
if [ -n "$1" ]
|
||||
then h="$1"
|
||||
fi
|
||||
v=$h
|
||||
if [ -n "$2" ]
|
||||
then v="$2"
|
||||
fi
|
||||
|
||||
if [ "$TERM" = "xterm-kitty" ]
|
||||
then
|
||||
kitty @ set-spacing padding=$1
|
||||
kitty @ set-spacing padding-h=$h padding-v=$v
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue