dotfiles/.bash_aliases
2022-11-18 20:09:19 +00:00

34 lines
676 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 lock="slock & sleep 1; xset dpms force off"
alias screenoff="sleep 2; xset dpms force off"
# sleep
alias suspend="slock & sleep 5 ; systemctl suspend"
# screen brightness script
alias brightness="$HOME/.config/scripts/wm/brightness.sh"
#
# TUI
#
# run pulsemixer
alias mixer="pulsemixer"
#
# GUI
#
# tmux '-2' colors
alias tmux="tmux -2"