pythonpad : env applied.

This commit is contained in:
2025-12-05 13:52:07 +09:00
parent 218ca4bbd7
commit 1bb836dee1

View File

@ -1,11 +1,9 @@
#!/usr/bin/env bash
PYTHONSTARTUP=~/scripts/my_imports.py
winclass="$(xdotool search --class pythonpad)";
if [ -z "$winclass" ]; then
alacritty --class pythonpad -e python
PYTHONSTARTUP=/home/jaeus/scripts/my_imports.py alacritty --class pythonpad -e python
else
if [ ! -f /tmp/pythonpad ]; then
touch /tmp/pythonpad && xdo hide "$winclass"