From 0c68a53020e2577241066564becee7bd757475b9 Mon Sep 17 00:00:00 2001 From: maudin Date: Tue, 9 Apr 2019 16:44:27 +0200 Subject: [PATCH] term-fontsize resize according to configuration file --- hybris.zsh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/hybris.zsh b/hybris.zsh index 44ff6be..bb305ed 100644 --- a/hybris.zsh +++ b/hybris.zsh @@ -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...