Add better nix support, add GTK theme installation

This commit is contained in:
askiiart 2024-03-18 10:26:41 -05:00
parent 8e8da7f7c6
commit 318ca5afdd
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
8 changed files with 53 additions and 8 deletions

View file

@ -1,8 +1,15 @@
#!/usr/bin/env bash
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
command_exists() { type "$1" &>/dev/null; }
# fish
rm -rf $GIT_DIR/fish
cp -r $HOME/.config/fish/ $GIT_DIR
if command_exists "nixos-rebuild"; then
rm $GIT_DIR/fish/config.fish
mv $GIT_DIR/fish/config.fish.backup $GIT_DIR/fish/config.fish
fi
mv $GIT_DIR/fish/conf.d/universal.fish $GIT_DIR/universal-shellrc.txt
# kitty