mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-17 09:13:32 +09:00
Compare commits
8 Commits
45830fad57
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 1bb836dee1 | |||
| 218ca4bbd7 | |||
| a6759eff18 | |||
| 023a6d0c5b | |||
| 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
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
(require 'init-custom)
|
(require 'init-custom)
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:ensure nil ; built-in
|
:straight (:type built-in)
|
||||||
:custom-face (org-ellipsis ((t (:foreground unspecified))))
|
:custom-face (org-ellipsis ((t (:foreground unspecified))))
|
||||||
:pretty-hydra
|
:pretty-hydra
|
||||||
;; See `org-structure-template-alist'
|
;; See `org-structure-template-alist'
|
||||||
@ -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 ;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|||||||
@ -87,7 +87,7 @@ alias emt="emacsclient -c -a 'emacs -nw'"
|
|||||||
#neovim to vi
|
#neovim to vi
|
||||||
alias vi=nvim
|
alias vi=nvim
|
||||||
alias vimdiff="nvim -d"
|
alias vimdiff="nvim -d"
|
||||||
alias cat=bat
|
#alias cat=bat
|
||||||
|
|
||||||
#grub update
|
#grub update
|
||||||
alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg"
|
alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg"
|
||||||
@ -104,5 +104,3 @@ alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg"
|
|||||||
export PYTHONSTARTUP=/home/jaeus/scripts/my_imports.py
|
export PYTHONSTARTUP=/home/jaeus/scripts/my_imports.py
|
||||||
|
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
|
|
||||||
atuin init fish | source
|
|
||||||
|
|||||||
@ -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)"
|
||||||
|
|||||||
@ -21,14 +21,11 @@ git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.oh-my-zsh/cust
|
|||||||
mv ~/.zshrc.pre-oh-my-zsh ~/.zshrc
|
mv ~/.zshrc.pre-oh-my-zsh ~/.zshrc
|
||||||
|
|
||||||
# fish
|
# fish
|
||||||
paru -S fish starship autin bat --noconfirm
|
paru -S fish starship bat --noconfirm
|
||||||
|
|
||||||
|
|
||||||
# neovim
|
# neovim
|
||||||
paru -S neovim --noconfirm
|
paru -S neovim nvim-lazy --noconfirm
|
||||||
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
|
|
||||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
|
||||||
nvim +PlugInstall +q +q
|
|
||||||
|
|
||||||
# git config
|
# git config
|
||||||
git config --global user.name "JaeYoo-Im"
|
git config --global user.name "JaeYoo-Im"
|
||||||
|
|||||||
18
scripts/pythonpad
Executable file
18
scripts/pythonpad
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
winclass="$(xdotool search --class pythonpad)";
|
||||||
|
|
||||||
|
if [ -z "$winclass" ]; then
|
||||||
|
PYTHONSTARTUP=/home/jaeus/scripts/my_imports.py 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