show a beautiful cat when starting zsh

This commit is contained in:
Rouven Seifert 2023-02-14 21:50:36 +01:00
parent 93a33fbe51
commit 55611013b7
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
4 changed files with 12 additions and 5 deletions

View file

@ -86,6 +86,11 @@
programs.steam.enable = true; # putting steam in here cause in home manager it doesn't work
programs.ausweisapp = {
enable = true;
openFirewall = true;
};
virtualisation.libvirtd.enable = true;
virtualisation.spiceUSBRedirection.enable = true;

1
images/cat.sixel Normal file

File diff suppressed because one or more lines are too long

View file

@ -42,7 +42,7 @@
# misc
neofetch
trash-cli
spotify
#spotify # make probles atm
virt-manager
powerline-fonts
ventoy-bin

View file

@ -52,19 +52,20 @@
$1 $(find -maxdepth 5 -not -path '*[cC]ache*' -not -path '*[tT]rash*' | fzf --preview 'tree -C {}')
fi
}
function svpn() {
unit=$(systemctl list-unit-files | grep "openconnect\|wg-quick\|wireguard\|openvpn" | cut -d "." -f1 | fzf --preview 'systemctl status {}')
if [ $(systemctl is-active $unit) = "inactive" ]; then
systemctl start $unit
systemctl start $unit
else
systemctl stop $unit
systemctl stop $unit
fi
}
prompt_dir() {
prompt_segment blue $CURRENT_FG '%c'
}
cat ${../../../../images/cat.sixel}
'';
};
}