Compare commits

...

4 Commits

Author SHA1 Message Date
aaee6aef92 emacs : org download location setup 2025-08-12 16:00:59 +09:00
b2b4dd33a5 zsh : python startup env 2025-08-12 16:00:36 +09:00
fc4538ac6e python pad 2025-08-12 16:00:23 +09:00
92c63e4949 pythonpad 2025-08-12 16:00:12 +09:00
5 changed files with 45 additions and 8 deletions

View File

@ -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

View File

@ -314,23 +314,25 @@ prepended to the element after the #+HEADER: tag."
(use-package org-contrib ;; to use org-screenshot-take
:straight t
:ensure t
:defer t
:defer t)
(use-package org-attach-screenshot
:straight t
:ensure t
:defer t
:defer t)
(use-package org-download
:after org
:straight t
:ensure t
:defer t
:defer t)
:demand t
:init
(setq org-download-image-dir "./images")
(setq org-download-heading-lvl nil)
:config
(org-download-enable))
(use-package ob-latex-as-png
:straight t
:ensure t
:defer t
:ensure t)
:defer t)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Org roam ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

View File

@ -4,6 +4,8 @@ super+Return
alacritty
super+shift+Return
~/scripts/scpad
super+shift+p
~/scripts/pythonpad
#Apps and programs
super+e
emacsclient -c -a 'emacs'
@ -44,6 +46,12 @@ super+w
super+shift+r
bspc wm -r
# lock screen
super+shift+l
i3lock-fancy
# resize
super+alt+l
bspc node focused -z right 15 0

8
.zshrc
View File

@ -46,6 +46,12 @@ if [[ $JUPCID == "WSL" ]];then
fi
# python env
export PYTHONSTARTUP=~/scripts/my_imports.py
export PYTHONSTARTUPSCRIPT=~/scripts/my_imports.py
eval "$(starship init zsh)"
# pokemon-colorscripts --no-title -s -r
. "$HOME/.atuin/bin/env"
eval "$(atuin init zsh)"

20
scripts/pythonpad Executable file
View 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