# # 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" # open spotify web client on firefox alias spw="firefox --new-window https://open.spotify.com/ & exit"