repo.or.cz
/
rxvt-unicode-script-mark-and-yank.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add some scripts to change fonts and colours
[rxvt-unicode-script-mark-and-yank.git]
/
bin
/
set-font-size
blob
c019f171daa6fe44159aedd5fa8831dce0d0abca
1
#!/bin/zsh
2
if
[[
"
$1
"
=
~
'^[0-9]+$'
]] ;
then
3
font
=
"-*-terminus-*-r-normal-*-
$1
-*-*-*-*-*-*-1"
4
else
5
font
=
"#
$1
"
6
fi
7
set -x
8
echo -en
"
\033
]50;
$font
\007
"