37 lines
772 B
Bash
37 lines
772 B
Bash
#
|
|
# CLI
|
|
#
|
|
|
|
# use doas instead of sudo
|
|
alias sudo='doas'
|
|
#.dotfiles repo alias
|
|
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
|
# show file sizes alias and sort by size
|
|
alias sizes='du -hs .[^.]* * | sort -h'
|
|
# bash tree alias
|
|
alias gittree="git log --all --decorate --oneline --graph"
|
|
# turn screen off
|
|
alias screenoff="\sleep 1; xset dpms force off"
|
|
# sleep
|
|
alias sleep="slock & \sleep 1 ; systemctl suspend"
|
|
# screen brightness script
|
|
alias brightness="$HOME/.config/wm_scripts/brightness.sh"
|
|
|
|
#
|
|
# TUI
|
|
#
|
|
|
|
# run pulsemixer
|
|
alias mixer="pulsemixer"
|
|
# use nvim instead of vim
|
|
alias vim="nvim"
|
|
|
|
#
|
|
# GUI
|
|
#
|
|
|
|
# tmux '-2' colors
|
|
alias tmux="tmux -2"
|
|
# open spotify web client on firefox
|
|
alias spw="firefox --new-window https://open.spotify.com/ & exit"
|