From fb3588d05b94ebac857c8c892519fee03b773ae4 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 14 Oct 2024 15:58:23 +0530 Subject: removed alacritty scaling from open_terminal and moved it to alacritty's own config --- .scripts/open_terminal | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.scripts/open_terminal') diff --git a/.scripts/open_terminal b/.scripts/open_terminal index a2ef1b8..b928758 100755 --- a/.scripts/open_terminal +++ b/.scripts/open_terminal @@ -8,13 +8,15 @@ then PID=$(xprop -id $ACTIVE_WINDOW | grep _NET_WM_PID | grep -oP "\d+") if [[ "$PID" == "" ]] then - WINIT_X11_SCALE_FACTOR=1.3 alacritty + # WINIT_X11_SCALE_FACTOR=1.3 alacritty + alacritty fi # Get first child of terminal CHILD_PID=$(pgrep -P $PID) if [[ "$PID" == "" ]] then - WINIT_X11_SCALE_FACTOR=1.3 alacritty + # WINIT_X11_SCALE_FACTOR=1.3 alacritty + alacritty fi # Get current directory of child. The first child should be the shell. pushd "/proc/${CHILD_PID}/cwd" -- cgit v1.2.3