term-fontsize resize according to configuration file
This commit is contained in:
@@ -1,12 +1,7 @@
|
|||||||
# bip at command end
|
# bip at command end, resize font
|
||||||
function precmd() {
|
function precmd() {
|
||||||
echo -n -e "\a"
|
echo -n -e "\a"
|
||||||
main_screen=$(echo "if require('awful.screen').focused().index == 1 then return('main-screen') end" | awesome-client)
|
/home/hybris/.scripts/term-fontsize
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# do not share history between terms...
|
# do not share history between terms...
|
||||||
|
|||||||
Reference in New Issue
Block a user