Hyprland-dotfiles/.bashrc

82 lines
2.1 KiB
Bash
Raw Normal View History

2023-03-08 08:20:33 -05:00
# _ _
# | |__ __ _ ___| |__ _ __ ___
# | '_ \ / _` / __| '_ \| '__/ __|
# _| |_) | (_| \__ \ | | | | | (__
# (_)_.__/ \__,_|___/_| |_|_| \___|
#
# by Stephan Raabe (2023)
# -----------------------------------------------------
2023-02-07 09:59:20 -05:00
# ~/.bashrc
2023-03-08 08:20:33 -05:00
# -----------------------------------------------------
2023-02-07 09:59:20 -05:00
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
PS1='[\u@\h \W]\$ '
2023-03-08 08:20:33 -05:00
# -----------------------------------------------------
2023-02-07 09:59:20 -05:00
# ALIASES
2023-03-08 08:20:33 -05:00
# -----------------------------------------------------
2023-02-07 09:59:20 -05:00
alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg'
2023-02-09 04:27:03 -05:00
alias c='clear'
2023-02-10 05:29:21 -05:00
alias w='~/dotfiles/scripts/updatewal.sh'
2023-02-09 04:27:03 -05:00
2023-02-11 11:22:33 -05:00
alias instp='sudo pacman -S'
alias insty='yay -S'
2023-02-09 04:27:03 -05:00
# APPLICATIONS
2023-02-07 09:59:20 -05:00
alias ls='exa -al'
alias mutt='neomutt'
alias m='neomutt'
alias shutdown='sudo shutdown -h now'
2023-02-26 04:52:21 -05:00
alias v='nvim'
2023-02-09 04:27:03 -05:00
alias r='ranger'
2023-02-20 06:42:39 -05:00
alias t='sudo timeshift --list'
alias ts='~/dotfiles/scripts/snapshot.sh'
2023-02-20 13:24:55 -05:00
alias matrix='cmatrix'
2023-03-08 08:20:33 -05:00
alias screenshot='scrot -d 3 -c -z -u'
2023-03-06 11:55:42 -05:00
alias nf='neofetch'
2023-02-07 09:59:20 -05:00
2023-02-23 10:45:51 -05:00
# GIT
alias gs="git status"
alias ga="git add"
2023-02-24 05:05:07 -05:00
alias gc="git commit -m"
2023-02-23 10:45:51 -05:00
alias gp="git push"
2023-03-08 07:00:40 -05:00
alias gpl="git pull"
alias gpf="git stash; git pull"
2023-02-23 10:45:51 -05:00
2023-02-09 04:27:03 -05:00
# SCRIPTS
2023-02-07 09:59:20 -05:00
alias gr='python ~/dotfiles/scripts/growthrate.py'
2023-02-09 04:27:03 -05:00
alias chat='python ~/mychatgpt/mychatgpt.py'
2023-02-07 09:59:20 -05:00
2023-02-09 04:27:03 -05:00
# VIRTUAL MACHINE
2023-03-02 09:28:25 -05:00
# alias vm='~/dotfiles/scripts/launchvm.sh'
alias vm='~/dotfiles/scripts/looking-glass.sh'
2023-02-20 06:42:39 -05:00
alias vmstart='virsh --connect qemu:///system start win11'
alias vmstop='virsh --connect qemu:///system destroy win11'
2023-02-07 09:59:20 -05:00
2023-03-06 11:55:42 -05:00
# EDIT CONFIG FILES
2023-02-09 04:27:03 -05:00
alias confq='vim ~/dotfiles/qtile/config.py'
alias confp='vim ~/dotfiles/picom/picom.conf'
alias confb='vim ~/dotfiles/.bashrc'
2023-02-07 09:59:20 -05:00
2023-03-06 11:55:42 -05:00
# IMAGE MANIPULATION
2023-02-09 08:30:40 -05:00
# EDIT NOTES
alias notes='vim ~/notes.txt'
2023-03-08 08:20:33 -05:00
# -----------------------------------------------------
2023-02-07 09:59:20 -05:00
# START STARSHIP
2023-03-08 08:20:33 -05:00
# -----------------------------------------------------
2023-02-07 09:59:20 -05:00
eval "$(starship init bash)"
2023-03-08 08:20:33 -05:00
# -----------------------------------------------------
2023-02-09 04:27:03 -05:00
# PYWAL
2023-03-08 08:20:33 -05:00
# -----------------------------------------------------
2023-02-07 09:59:20 -05:00
cat ~/.cache/wal/sequences
2023-03-08 08:20:33 -05:00
# -----------------------------------------------------
2023-02-09 04:27:03 -05:00
# NEOFETCH
2023-03-08 08:20:33 -05:00
# -----------------------------------------------------
2023-02-07 09:59:20 -05:00
neofetch