2021-04-26 13:40:00 +08:00
|
|
|
#
|
|
|
|
# CLI
|
|
|
|
#
|
|
|
|
|
2021-08-17 19:26:38 +08:00
|
|
|
# use doas instead of sudo
|
|
|
|
alias sudo='doas'
|
2020-09-19 00:15:50 +08:00
|
|
|
#.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"
|
2020-12-31 02:43:41 +08:00
|
|
|
# turn screen off
|
2022-01-04 01:27:45 +08:00
|
|
|
alias lock="slock & sleep 1; xset dpms force off"
|
2022-01-12 12:53:05 +08:00
|
|
|
alias screenoff="sleep 2; xset dpms force off"
|
2021-10-22 00:12:41 +08:00
|
|
|
# sleep
|
2022-01-12 12:53:05 +08:00
|
|
|
alias suspend="slock & sleep 5 ; systemctl suspend"
|
2021-10-06 20:41:53 +08:00
|
|
|
# screen brightness script
|
2022-09-25 04:30:30 +08:00
|
|
|
alias brightness="$HOME/.config/scripts/wm/brightness.sh"
|
2021-04-26 13:40:00 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# TUI
|
|
|
|
#
|
|
|
|
|
|
|
|
# run pulsemixer
|
|
|
|
alias mixer="pulsemixer"
|
|
|
|
|
|
|
|
#
|
|
|
|
# GUI
|
|
|
|
#
|
|
|
|
|
|
|
|
# tmux '-2' colors
|
|
|
|
alias tmux="tmux -2"
|