added openrct2 to gaming_pkgs.nix, altered some network configuration to make hosting servers easier. Kitty now changes theme in ssh.

This commit is contained in:
pagedmov
2024-11-03 01:48:20 -04:00
parent b427e8f373
commit 59d8273efa
5 changed files with 120 additions and 4 deletions

View File

@@ -37,6 +37,7 @@ in {
chafa
nemo
flavours
nicotine-plus
ags
sassc
gtk3

View File

@@ -76,6 +76,13 @@
runbg aplay "$1"
fi
}
kitty_ssh_theme() {
if [ -n "$SSH_CONNECTION" ]; then
kitty @ set-colors -a ~/.config/kitty/ssh-theme.conf
else
kitty @ set-colors -a ~/.config/kitty/ssh-theme.conf
fi
}
gitcheckout_sfx() {
if git checkout "$@"; then
playshellsound ${self}/assets/sound/gitcheckout.wav
@@ -186,6 +193,7 @@
autoload -U down-line-or-beginning-search; zle -N down-line-or-beginning-search
bindkey -v
kitty_ssh_theme
type starship_zle-keymap-select >/dev/null || \
{
eval "$(starship init zsh)"