mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-13 23:51:34 +09:00
Compare commits
4 Commits
45830fad57
...
aaee6aef92
| Author | SHA1 | Date | |
|---|---|---|---|
| aaee6aef92 | |||
| b2b4dd33a5 | |||
| fc4538ac6e | |||
| 92c63e4949 |
@ -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
|
||||
|
||||
@ -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 ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
@ -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
8
.zshrc
@ -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
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