mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-13 23:51:34 +09:00
pythonpad : env applied.
This commit is contained in:
@ -1,11 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
PYTHONSTARTUP=~/scripts/my_imports.py
|
|
||||||
|
|
||||||
winclass="$(xdotool search --class pythonpad)";
|
winclass="$(xdotool search --class pythonpad)";
|
||||||
|
|
||||||
if [ -z "$winclass" ]; then
|
if [ -z "$winclass" ]; then
|
||||||
alacritty --class pythonpad -e python
|
PYTHONSTARTUP=/home/jaeus/scripts/my_imports.py alacritty --class pythonpad -e python
|
||||||
else
|
else
|
||||||
if [ ! -f /tmp/pythonpad ]; then
|
if [ ! -f /tmp/pythonpad ]; then
|
||||||
touch /tmp/pythonpad && xdo hide "$winclass"
|
touch /tmp/pythonpad && xdo hide "$winclass"
|
||||||
|
|||||||
Reference in New Issue
Block a user