term-fontsize resize according to configuration file
This commit is contained in:
parent
4f9f683ac4
commit
0c68a53020
1 changed files with 2 additions and 7 deletions
|
|
@ -1,12 +1,7 @@
|
|||
# bip at command end
|
||||
# bip at command end, resize font
|
||||
function precmd() {
|
||||
echo -n -e "\a"
|
||||
main_screen=$(echo "if require('awful.screen').focused().index == 1 then return('main-screen') end" | awesome-client)
|
||||
if [ $main_screen ]; then
|
||||
/home/hybris/.scripts/term-fontsize $(cat ~/.config/term-fontsize_1)
|
||||
else
|
||||
/home/hybris/.scripts/term-fontsize $(cat ~/.config/term-fontsize_2)
|
||||
fi
|
||||
/home/hybris/.scripts/term-fontsize
|
||||
}
|
||||
|
||||
# do not share history between terms...
|
||||
|
|
|
|||
Loading…
Reference in a new issue