2023-03-08 13:20:33 +00:00
|
|
|
# _ _
|
|
|
|
# | |__ __ _ ___| |__ _ __ ___
|
|
|
|
# | '_ \ / _` / __| '_ \| '__/ __|
|
|
|
|
# _| |_) | (_| \__ \ | | | | | (__
|
|
|
|
# (_)_.__/ \__,_|___/_| |_|_| \___|
|
|
|
|
#
|
|
|
|
# by Stephan Raabe (2023)
|
|
|
|
# -----------------------------------------------------
|
2023-02-07 14:59:20 +00:00
|
|
|
# ~/.bashrc
|
2023-03-08 13:20:33 +00:00
|
|
|
# -----------------------------------------------------
|
2023-02-07 14:59:20 +00:00
|
|
|
|
|
|
|
# If not running interactively, don't do anything
|
|
|
|
[[ $- != *i* ]] && return
|
|
|
|
PS1='[\u@\h \W]\$ '
|
|
|
|
|
2023-03-08 13:20:33 +00:00
|
|
|
# -----------------------------------------------------
|
2023-02-07 14:59:20 +00:00
|
|
|
# ALIASES
|
2023-03-08 13:20:33 +00:00
|
|
|
# -----------------------------------------------------
|
2023-02-07 14:59:20 +00:00
|
|
|
alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg'
|
2023-02-09 09:27:03 +00:00
|
|
|
alias c='clear'
|
2023-02-10 10:29:21 +00:00
|
|
|
alias w='~/dotfiles/scripts/updatewal.sh'
|
2023-03-15 09:13:45 +00:00
|
|
|
alias setkb='setxkbmap de;echo "Keyboard set back to de."'
|
2023-02-11 16:22:33 +00:00
|
|
|
|
2023-02-09 09:27:03 +00:00
|
|
|
# APPLICATIONS
|
2023-02-07 14:59:20 +00:00
|
|
|
alias ls='exa -al'
|
|
|
|
alias mutt='neomutt'
|
|
|
|
alias m='neomutt'
|
2023-04-08 14:26:43 +00:00
|
|
|
alias shutdown='systemctl poweroff'
|
2023-02-26 09:52:21 +00:00
|
|
|
alias v='nvim'
|
2023-02-09 09:27:03 +00:00
|
|
|
alias r='ranger'
|
2023-02-20 11:42:39 +00:00
|
|
|
alias t='sudo timeshift --list'
|
2023-04-13 16:14:20 +00:00
|
|
|
alias ts='~/snapshot.sh'
|
2023-02-20 18:24:55 +00:00
|
|
|
alias matrix='cmatrix'
|
2023-03-15 16:35:40 +00:00
|
|
|
alias shot='scrot -d 3 -c -z -u'
|
|
|
|
alias shotsel='scrot -s'
|
2023-03-06 16:55:42 +00:00
|
|
|
alias nf='neofetch'
|
2023-03-15 16:35:40 +00:00
|
|
|
alias pf='pfetch'
|
2023-04-04 14:38:59 +00:00
|
|
|
alias wifi='nmtui'
|
2023-04-11 11:37:23 +00:00
|
|
|
alias od='~/private/onedrive.sh'
|
2023-02-07 14:59:20 +00:00
|
|
|
|
2023-02-23 15:45:51 +00:00
|
|
|
# GIT
|
|
|
|
alias gs="git status"
|
|
|
|
alias ga="git add"
|
2023-02-24 10:05:07 +00:00
|
|
|
alias gc="git commit -m"
|
2023-02-23 15:45:51 +00:00
|
|
|
alias gp="git push"
|
2023-03-08 12:00:40 +00:00
|
|
|
alias gpl="git pull"
|
2023-04-14 12:34:31 +00:00
|
|
|
alias gst="git stash"
|
2023-03-08 12:00:40 +00:00
|
|
|
alias gpf="git stash; git pull"
|
2023-02-23 15:45:51 +00:00
|
|
|
|
2023-02-09 09:27:03 +00:00
|
|
|
# SCRIPTS
|
2023-02-07 14:59:20 +00:00
|
|
|
alias gr='python ~/dotfiles/scripts/growthrate.py'
|
2023-02-09 09:27:03 +00:00
|
|
|
alias chat='python ~/mychatgpt/mychatgpt.py'
|
2023-03-09 08:25:31 +00:00
|
|
|
alias ascii='~/dotfiles/scripts/figlet.sh'
|
2023-02-07 14:59:20 +00:00
|
|
|
|
2023-02-09 09:27:03 +00:00
|
|
|
# VIRTUAL MACHINE
|
2023-04-11 08:36:48 +00:00
|
|
|
alias vm='~/private/launchvm.sh'
|
2023-04-08 14:26:43 +00:00
|
|
|
alias lg='~/dotfiles/scripts/looking-glass.sh'
|
2023-02-20 11:42:39 +00:00
|
|
|
alias vmstart='virsh --connect qemu:///system start win11'
|
|
|
|
alias vmstop='virsh --connect qemu:///system destroy win11'
|
2023-02-07 14:59:20 +00:00
|
|
|
|
2023-03-06 16:55:42 +00:00
|
|
|
# EDIT CONFIG FILES
|
2023-02-09 09:27:03 +00:00
|
|
|
alias confq='vim ~/dotfiles/qtile/config.py'
|
|
|
|
alias confp='vim ~/dotfiles/picom/picom.conf'
|
|
|
|
alias confb='vim ~/dotfiles/.bashrc'
|
2023-02-07 14:59:20 +00:00
|
|
|
|
2023-02-09 13:30:40 +00:00
|
|
|
# EDIT NOTES
|
|
|
|
alias notes='vim ~/notes.txt'
|
|
|
|
|
2023-03-08 13:20:33 +00:00
|
|
|
# -----------------------------------------------------
|
2023-02-07 14:59:20 +00:00
|
|
|
# START STARSHIP
|
2023-03-08 13:20:33 +00:00
|
|
|
# -----------------------------------------------------
|
2023-02-07 14:59:20 +00:00
|
|
|
eval "$(starship init bash)"
|
|
|
|
|
2023-03-08 13:20:33 +00:00
|
|
|
# -----------------------------------------------------
|
2023-02-09 09:27:03 +00:00
|
|
|
# PYWAL
|
2023-03-08 13:20:33 +00:00
|
|
|
# -----------------------------------------------------
|
2023-02-07 14:59:20 +00:00
|
|
|
cat ~/.cache/wal/sequences
|
|
|
|
|
2023-03-08 13:20:33 +00:00
|
|
|
# -----------------------------------------------------
|
2023-04-13 19:39:37 +00:00
|
|
|
# PFETCH
|
2023-03-08 13:20:33 +00:00
|
|
|
# -----------------------------------------------------
|
2023-03-19 16:58:09 +00:00
|
|
|
echo ""
|
2023-03-15 09:13:45 +00:00
|
|
|
pfetch
|