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"
|
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
|
|
|
|
2023-06-18 22:26:22 +08:00
|
|
|
alias linkmic='link-virtual-mic -a'
|
|
|
|
alias unlinkmic='link-virtual-mic -d'
|
|
|
|
|
|
|
|
alias sbSetfile='file=$(fzf)'
|
|
|
|
alias sbPlay='mpv "$file" --volume=70 --audio-device=pipewire/loopback &> /dev/null'
|
|
|
|
alias sbLoop='while true; do sbPlay; sleep 0.5; done'
|
|
|
|
alias sbSpam='c=5; while [[ $c -gt 0 ]]; do sbPlay & sleep 0.15; echo $c; c=$((c-1)); done'
|
|
|
|
|
2023-11-21 17:30:52 +08:00
|
|
|
alias lglass='looking-glass-client audio:micDefault=allow input:rawMouse=yes egl:scale=2 -m KEY_RIGHTMETA'
|
|
|
|
|
2021-04-26 13:40:00 +08:00
|
|
|
#
|
|
|
|
# TUI
|
|
|
|
#
|
|
|
|
|
|
|
|
# run pulsemixer
|
|
|
|
alias mixer="pulsemixer"
|