flake/config/.bashrc

46 lines
1.5 KiB
Bash
Raw Normal View History

2023-10-09 21:50:05 +02:00
# Custom Bash Prompt (use in case you decide to stop using starship)
2023-10-09 17:47:11 +02:00
#PS1='\n\[\e[0m\]\@ \[\e[0;1;38;5;45m\]\u\[\e[0m\]@\[\e[0;1;38;5;98m\]\h \[\e[0m\]\$\n\[\e[0m\](\[\e[0;2;38;5;231m\]\w\[\e[0m\])\[\e[0;5;96m\]>\[\e[0;5;36m\]>\[\e[0;5;35m\]>\[\e[0m\]'
2023-02-21 22:47:58 +01:00
2023-03-05 20:17:06 +01:00
2023-02-06 02:29:47 +01:00
# Alias Commands
alias clean="sudo nix-collect-garbage -d && sudo nix-store --optimise"
alias opt="sudo nix-store optimise"
alias bash="sudo nano .bashrc"
alias sn="sudo nano "
alias flkup="cd && cd flake && nix flake update && sudo nixos-rebuild switch --flake .# && sleep 10 && flatpak update && flatpak uninstall --unused"
2023-02-06 02:29:47 +01:00
# Gnome Menu: Alphabetize
alias alpha-gnome="gsettings reset org.gnome.shell app-picker-layout"
2023-03-05 20:17:06 +01:00
2023-02-06 02:29:47 +01:00
# Programs
#neofetch
2023-02-20 01:10:13 +01:00
alias brave="com.brave.Browser"
2023-10-02 06:39:24 +02:00
alias fss="feh -FZzrxD "
2023-02-06 02:29:47 +01:00
alias obb="docker run -it --rm ghcr.io/openbb-finance/openbbterminal-poetry:latest"
2023-03-16 13:29:54 +01:00
alias obb2="cd /home/$USER/Software/OpenBB && docker compose run openbb"
2023-03-05 02:31:28 +01:00
alias pipes="pipes.sh"
2023-02-08 13:41:44 +01:00
alias starwars="telnet towel.blinkenlights.nl"
alias wttr="curl wttr.in"
2024-03-22 23:12:41 +01:00
alias fxf="feh -YFZzrxD .02 " # Slideshow displaying rapid images
alias fxm="feh -YFZzrxD 3 " # Slideshow displaying 3 second randomized images
alias fxs="feh -YFZzrxD 20 " # Slideshow displaying 20 second randomized images
alias fxr="feh -YFZzrx " # Slideshow displaying randomized images, not timed
alias fxl="feh -YFZrxS mtime " # Slideshow displaying last images modified
2023-11-19 23:04:05 +01:00
2023-12-23 05:16:29 +01:00
# Starship
2023-10-10 04:19:18 +02:00
eval "$(starship init bash)"
2023-12-23 05:16:29 +01:00
# Enable Carapace
source <(carapace _carapace)
2023-10-10 04:19:18 +02:00
# Nitch Fetch
2023-12-03 05:19:03 +01:00
#nitch
2023-12-23 05:16:29 +01:00
2023-12-03 05:19:03 +01:00
# Pokemon
2024-03-23 01:13:15 +01:00
krabby random 1 --no-title