dotfiles-old/.config/aliasrc

58 lines
1.3 KiB
Plaintext

#better commands
alias ls="ls -hN --color=auto --group-directories-first"
alias wget='wget --hsts-file ~/.config/wget/wget-hsts'
#git
alias gs='git status | less'
#xbps
#alias xi='sudo xbps-install'
#alias xq='xbps-query'
#alias xr='sudo xbps-remove'
alias vim='nvim'
alias mbsync="mbsync -c $HOME/.config/mbsync/config"
#alias setwp='wal -s -t -e -i '
#shortend commands
alias btc='bluetoothctl'
#sfeed
alias sf='sfeed_curses ~/.local/share/sfeed/feeds/*'
alias sfu='sfeed_update ~/.config/sfeed/sfeedrc'
alias sfc='rm -r ~/.local/share/sfeed/feeds/*'
alias sfe='$EDITOR ~/.config/sfeed/sfeedrc'
#alias mocp='mocp -M ~/.config/moc/' #-T transparent-background'
#alias glrun='proot -r ~/.local/share/void-glibc -b /home/'
alias mpvyl='mpv --ytdl-format=18 '
#system power
alias poweroff='sudo poweroff'
alias reboot='sudo reboot'
alias shutdown='sudo shutdown'
#programs
alias trc='tremc -c @nagato:9091'
alias pm='pulsemixer'
#Youtube
alias yv='pipe-viewer --resolution=480p'
alias yd='youtube-dl'
#dotfiles configuration alias
alias config='git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
note() {
NOTEFILE="$HOME/docs/notes"
if [ "$#" -lt 1 ]; then
cat "$NOTEFILE"
elif [ "$1" = "-e" ]; then
$EDITOR "$NOTEFILE"
else
echo "$@" >> "$NOTEFILE"
fi
}