From 3b9f0cb7c805b8a5f384d6d89cf6e3f9674a8e03 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 10 May 2025 10:27:21 +0530 Subject: did stuff --- .scripts/open_terminal | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '.scripts') diff --git a/.scripts/open_terminal b/.scripts/open_terminal index b928758..a2ef1b8 100755 --- a/.scripts/open_terminal +++ b/.scripts/open_terminal @@ -8,15 +8,13 @@ then PID=$(xprop -id $ACTIVE_WINDOW | grep _NET_WM_PID | grep -oP "\d+") if [[ "$PID" == "" ]] then - # WINIT_X11_SCALE_FACTOR=1.3 alacritty - alacritty + WINIT_X11_SCALE_FACTOR=1.3 alacritty fi # Get first child of terminal CHILD_PID=$(pgrep -P $PID) if [[ "$PID" == "" ]] then - # WINIT_X11_SCALE_FACTOR=1.3 alacritty - alacritty + WINIT_X11_SCALE_FACTOR=1.3 alacritty fi # Get current directory of child. The first child should be the shell. pushd "/proc/${CHILD_PID}/cwd" -- cgit v1.2.3