mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-17 09:13:32 +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 Emacs state=tiled
|
||||||
# bspc rule -a \* 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
|
# TODO heres polybar
|
||||||
if [[ $JUPCID == "HOME-DESKTOP" ]]; then
|
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
|
(use-package org-contrib ;; to use org-screenshot-take
|
||||||
:straight t
|
:straight t
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer t
|
|
||||||
:defer t)
|
:defer t)
|
||||||
(use-package org-attach-screenshot
|
(use-package org-attach-screenshot
|
||||||
:straight t
|
:straight t
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer t
|
|
||||||
:defer t)
|
:defer t)
|
||||||
(use-package org-download
|
(use-package org-download
|
||||||
|
:after org
|
||||||
:straight t
|
:straight t
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer t
|
:demand t
|
||||||
:defer t)
|
:init
|
||||||
|
(setq org-download-image-dir "./images")
|
||||||
|
(setq org-download-heading-lvl nil)
|
||||||
|
:config
|
||||||
|
(org-download-enable))
|
||||||
(use-package ob-latex-as-png
|
(use-package ob-latex-as-png
|
||||||
:straight t
|
:straight t
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer t
|
:defer t)
|
||||||
:ensure t)
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; Org roam ;
|
;; Org roam ;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|||||||
@ -4,6 +4,8 @@ super+Return
|
|||||||
alacritty
|
alacritty
|
||||||
super+shift+Return
|
super+shift+Return
|
||||||
~/scripts/scpad
|
~/scripts/scpad
|
||||||
|
super+shift+p
|
||||||
|
~/scripts/pythonpad
|
||||||
#Apps and programs
|
#Apps and programs
|
||||||
super+e
|
super+e
|
||||||
emacsclient -c -a 'emacs'
|
emacsclient -c -a 'emacs'
|
||||||
@ -44,6 +46,12 @@ super+w
|
|||||||
super+shift+r
|
super+shift+r
|
||||||
bspc wm -r
|
bspc wm -r
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# lock screen
|
||||||
|
super+shift+l
|
||||||
|
i3lock-fancy
|
||||||
|
|
||||||
# resize
|
# resize
|
||||||
super+alt+l
|
super+alt+l
|
||||||
bspc node focused -z right 15 0
|
bspc node focused -z right 15 0
|
||||||
|
|||||||
8
.zshrc
8
.zshrc
@ -46,6 +46,12 @@ if [[ $JUPCID == "WSL" ]];then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# python env
|
# python env
|
||||||
export PYTHONSTARTUP=~/scripts/my_imports.py
|
export PYTHONSTARTUPSCRIPT=~/scripts/my_imports.py
|
||||||
|
|
||||||
eval "$(starship init zsh)"
|
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