diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-08-29 18:46:00 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-08-29 18:46:00 +0530 |
commit | 21d1e9f85f12f2aab3b7ab939276a5212969ce9e (patch) | |
tree | 5cf81059a881540c2fe4b6d7de2829192c71b9c8 | |
parent | 4ba061a33ad53766646dd01515fd249495bb37b4 (diff) |
removed wm scaling factor from open_terminal because it's already in alacritty config
-rwxr-xr-x | .scripts/open_terminal | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.scripts/open_terminal b/.scripts/open_terminal index a2ef1b8..62ac7cc 100755 --- a/.scripts/open_terminal +++ b/.scripts/open_terminal @@ -8,20 +8,20 @@ then PID=$(xprop -id $ACTIVE_WINDOW | grep _NET_WM_PID | grep -oP "\d+") if [[ "$PID" == "" ]] then - 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 + alacritty fi # Get current directory of child. The first child should be the shell. pushd "/proc/${CHILD_PID}/cwd" SHELL_CWD=$(pwd -P) popd # Start alacritty with the working directory - WINIT_X11_SCALE_FACTOR=1.3 alacritty --working-directory $SHELL_CWD + alacritty --working-directory $SHELL_CWD else - WINIT_X11_SCALE_FACTOR=1.3 alacritty + alacritty fi |