feat(themeing): Major refactor themeing for whole computer

Adds catppuccin nix flake for themeing lots of programs easily. This
enables proper themeing for:
* zathura
* imv
* fcitx (declarative settings)
* lazygit
* btop
* gtk

It also pulls in the home-manager sessionVars which is necessary to
theme applications.

The session vars change also reduces the number of env-vars that need to
be set in the zshrc due to them being set declaratively elsewhere.
This commit is contained in:
stitchy 2025-03-21 10:43:34 +00:00
parent 22dbb128c0
commit 319c25098c
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
9 changed files with 114 additions and 30 deletions

View file

@ -7,10 +7,6 @@ unsetopt autocd beep notify
unsetopt PROMPT_SP
bindkey -v
# End of lines configured by zsh-newuser-install
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
# Aliases
alias c='clear'
@ -19,7 +15,6 @@ alias find="fd"
alias gdb="gdb -x /usr/share/pwndbg/gdbinit.py" #pwntools for GDB
alias ghidra="_JAVA_AWT_WM_NONREPARENTING=1 ghidra"
alias icat="kitty +kitten icat"
alias imv="imv -b aa77bb"
alias kon="ncmpcpp -b ~/.config/ncmpcpp/bindings"
alias l='ls -l'
alias la='ls -la'
@ -95,24 +90,14 @@ compinit
# End of lines added by compinstall
eval "$(zoxide init zsh)"
# Needed for pam_gnupg for ssh keys TO DO
#export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
export PATH="${PATH}:/home/flyingstitchman/.cargo/bin"
# Clean Up
export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORMTHEME=qt5ct
# Fuck Gnome Devs, All my homies Hate Gnome Devs
#export GDK_DEBUG=1
export MBSYNCRC=${XDG_CONFIG_HOME:-~/.config}/mbsync/config
export PASSWORD_STORE_DIR=${XDG_CONFIG_HOME:-~/.config}/password_store
export NOTMUCH_CONFIG=${XDG_CONFIG_HOME-~/.config}/notmuch/config
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
export KDEHOME="$XDG_CONFIG_HOME"/kde
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
export GNUPGHOME=${XDG_DATA_HOME-~/.config}/gnupg
export GPG_TTY=$(tty)
export SDL_VIDEODRIVER=wayland
export GOPATH="$XDG_DATA_HOME"
export GOMODCACHE="$XDG_CACHE_HOME"
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
@ -122,7 +107,6 @@ export DOTNET_CLI_HOME="$XDG_CONFIG_HOME"/dotnet
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
export CARGO_HOME="$XDG_DATA_HOME"/cargo
alias dosbox="dosbox -conf $XDG_CONFIG_HOME/dosbox/dosbox.conf"
# Nixos Rebuilding
@ -142,3 +126,6 @@ export QSYS_ROOTDIR="~/.cache/paru/clone/quartus-free/pkg/quartus-free-quartus/o
# Nix Direnv Support
eval "$(direnv hook zsh)"
# Home Manager Variables
source ~/.local/state/nix/profiles/home-manager/home-path/etc/profile.d/hm-session-vars.sh