[zsh] add function to change terminal font
This commit is contained in:
parent
c45073c276
commit
c4b500bf8a
|
@ -58,6 +58,16 @@ function touchpad() {
|
|||
fi
|
||||
}
|
||||
|
||||
## Terminal font
|
||||
|
||||
function tfont() {
|
||||
(
|
||||
[ -z "$1" ] && font="Terminess Powerline" || font="$1"
|
||||
[ -z "$2" ] && fontsize=18 || fontsize="$2"
|
||||
echo -e "\033]710;xft:$font:pixelsize=$fontsize\007"
|
||||
)
|
||||
}
|
||||
|
||||
# Fancy stuff
|
||||
|
||||
## dircolors
|
||||
|
|
Reference in a new issue