67 lines
1.7 KiB
Plaintext
67 lines
1.7 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 @192.168.1.162: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'
|
||
|
|
||
|
alias chrome='firejail chromium --ozone-platform-hint=auto'
|
||
|
|
||
|
note() {
|
||
|
NOTEFILE="$HOME/.cache/notes"
|
||
|
if [ "$#" -lt 1 ]; then
|
||
|
cat "$NOTEFILE"
|
||
|
elif [ "$1" = "-e" ]; then
|
||
|
$EDITOR "$NOTEFILE"
|
||
|
elif [ "$1" = "-h" ]; then
|
||
|
echo " usage: note this is a note"
|
||
|
echo " the line: \"this is a note\" is stored as a line in the file $NOTEFILE"
|
||
|
echo ""
|
||
|
echo " run this without arguments to view the contents of $NOTEFILE"
|
||
|
echo " -e -> edit note file with \$EDITOR"
|
||
|
echo " -h -> print this help menu"
|
||
|
else
|
||
|
echo "$@" >> "$NOTEFILE"
|
||
|
fi
|
||
|
}
|