mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-13 23:51:34 +09:00
pythonpad
This commit is contained in:
@ -70,7 +70,8 @@ bspc config normal_private_border_color "$color1"
|
||||
|
||||
bspc rule -a Emacs state=tiled
|
||||
# bspc rule -a \* state=tiled
|
||||
bspc rule -a scpad sticky=on state=floating rectangle=1400x600+660+40
|
||||
bspc rule -a scpad sticky=on state=floating rectangle=1400x700+660+40
|
||||
bspc rule -a pythonpad sticky=on state=floating rectangle=1400x700+660+40
|
||||
|
||||
# TODO heres polybar
|
||||
if [[ $JUPCID == "HOME-DESKTOP" ]]; then
|
||||
|
||||
20
scripts/pythonpad
Executable file
20
scripts/pythonpad
Executable file
@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
PYTHONSTARTUP=~/scripts/my_imports.py
|
||||
|
||||
winclass="$(xdotool search --class pythonpad)";
|
||||
|
||||
if [ -z "$winclass" ]; then
|
||||
alacritty --class pythonpad -e python
|
||||
else
|
||||
if [ ! -f /tmp/pythonpad ]; then
|
||||
touch /tmp/pythonpad && xdo hide "$winclass"
|
||||
elif [ -f /tmp/pythonpad ]; then
|
||||
rm /tmp/pythonpad && xdo show "$winclass"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user