mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-18 17:11:39 +01:00
show a beautiful cat when starting zsh
This commit is contained in:
parent
93a33fbe51
commit
55611013b7
4 changed files with 12 additions and 5 deletions
|
@ -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
1
images/cat.sixel
Normal file
File diff suppressed because one or more lines are too long
|
@ -42,7 +42,7 @@
|
|||
# misc
|
||||
neofetch
|
||||
trash-cli
|
||||
spotify
|
||||
#spotify # make probles atm
|
||||
virt-manager
|
||||
powerline-fonts
|
||||
ventoy-bin
|
||||
|
|
|
@ -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}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue