-**** Devour
-#+begin_src shell :tangle ~/.config/zsh/zshrc
- alias zathura='devour zathura'
- alias mpv='devour mpv'
- alias sql='devour sqlitebrowser'
- alias cad='devour openscad'
- alias feh='devour feh'
-#+end_src
-**** Package management (Pacman)
-#+begin_src shell :tangle ~/.config/zsh/zshrc
- alias aps='yay -Ss'
- alias api='yay -Syu'
- alias apii='sudo pacman -S'
- alias app='yay -Rns'
- alias apc='yay -Sc'
- alias apo='yay -Qttd'
- alias azf='pacman -Q | fzf'
- alias favorites='pacman -Qe | cut -d " " -f 1 > ~/Documents/favorites'
- alias ufetch='ufetch-arch'
- alias reflect='reflector --verbose --sort rate --save \
- ~/.local/etc/pacman.d/mirrorlist --download-timeout 60' # Takes ~45m to run
-#+end_src
-**** Package management (KISS)
-#+begin_src shell :tangle ~/.config/zsh/zshrc
- alias kzf="kiss s \* | xargs -l basename | \
- fzf --preview 'kiss search {} | xargs -l dirname'"
-#+end_src
-*** Exports
-#+begin_src shell :tangle ~/.config/zsh/zshrc
- export EDITOR="emacsclient -c"
- export VISUAL="$EDITOR"
- export TERM=xterm-256color # for compatability
-
- export GPG_TTY="$(tty)"
- export MANPAGER='nvim +Man!'
- export PAGER='less'
-
- export GTK_USE_PORTAL=1
-
- export PATH="/home/armaa/.local/bin:$PATH" # prioritize .local/bin
- export PATH="/home/armaa/Code/scripts:$PATH" # prioritize my scripts
- export PATH="/home/armaa/Code/scripts/bin:$PATH" # prioritize my bins
- export PATH="$PATH:/home/armaa/.cargo/bin"
- export PATH="$PATH:/home/armaa/.local/share/gem/ruby/2.7.0/bin"
- export PATH="$PATH:/usr/sbin"
- export PATH="$PATH:/opt/FreeTube/freetube"
-
- export LC_ALL="en_US.UTF-8"
- export LC_CTYPE="en_US.UTF-8"
- export LANGUAGE="en_US.UTF-8"
-
- export KISS_PATH="/home/armaa/Virtual/kiss/home/armaa/kiss-repo"
- export KISS_PATH="$KISS_PATH:/home/armaa/Clone/repo-main/core"
- export KISS_PATH="$KISS_PATH:/home/armaa/Clone/repo-main/extra"
- export KISS_PATH="$KISS_PATH:/home/armaa/Clone/repo-main/xorg"
- export KISS_PATH="$KISS_PATH:/home/armaa/Clone/repo-main/testing"
- export KISS_PATH="$KISS_PATH:/home/armaa/Clone/repo-community/community"
-#+end_src
-** Alacritty
-*** Appearance
-#+begin_src yml :tangle ~/.config/alacritty/alacritty.yml
-font:
- normal:
- family: JetBrains Mono Nerd Font
- style: Medium
- italic:
- style: Italic
- Bold:
- style: Bold
- size: 7
- ligatures: true # Requires ligature patch
-
-window:
- padding:
- x: 5
- y: 5
-
-background_opacity: 1
-#+end_src
-*** Color scheme
-Modus vivendi. Source: https://github.com/ishan9299/Nixos/blob/d4bbb7536be95b59466bb9cca4d671be46e04e81/user/alacritty/alacritty.yml#L30-L118
-#+begin_src yml :tangle ~/.config/alacritty/alacritty.yml
-colors:
- # Default colors
- primary:
- background: '#000000'
- foreground: '#ffffff'
-
- cursor:
- text: '#000000'
- background: '#ffffff'
-
- # Normal colors (except green it is from intense colors)
- normal:
- black: '#000000'
- red: '#ff8059'
- green: '#00fc50'
- yellow: '#eecc00'
- blue: '#29aeff'
- magenta: '#feacd0'
- cyan: '#00d3d0'
- white: '#eeeeee'
-
- # Bright colors [all the faint colors in the modus theme]
- bright:
- black: '#555555'
- red: '#ffa0a0'
- green: '#88cf88'
- yellow: '#d2b580'
- blue: '#92baff'
- magenta: '#e0b2d6'
- cyan: '#a0bfdf'
- white: '#ffffff'
-
- # dim [all the intense colors in modus theme]
- dim:
- black: '#222222'
- red: '#fb6859'
- green: '#00fc50'
- yellow: '#ffdd00'
- blue: '#00a2ff'
- magenta: '#ff8bd4'
- cyan: '#30ffc0'
- white: '#dddddd'
-#+end_src
-** IPython
-*** General
-Symlink profile_default/ipython_config.py to profile_math/ipython_config.py
-#+begin_src python :tangle ~/.ipython/profile_default/ipython_config.py
- c.TerminalInteractiveShell.editing_mode = 'vi'
- c.InteractiveShell.colors = 'linux'
- c.TerminalInteractiveShell.confirm_exit = False
-#+end_src
-*** Math
-#+begin_src python :tangle ~/.ipython/profile_math/startup.py
- from math import *
-
- def deg(x):
- return x * (180 / pi)
-
- def rad(x):
- return x * (pi / 180)
-
- def rad(x, unit):
- return (x * (pi / 180)) / unit
-
- def csc(x):
- return 1 / sin(x)
-
- def sec(x):
- return 1 / cos(x)
-
- def cot(x):
- return 1 / tan(x)