extensive update: some cleanup, todo/agenda changes, publishing system, swayfx, WIPs, etc.

This commit is contained in:
cho
2023-12-17 05:51:21 +07:00
parent 50bd201ece
commit 6c35aed2c6
53 changed files with 2108 additions and 747 deletions

View File

@ -23,8 +23,7 @@ alias \
mkd="mkdir -pv" \
ffmpeg="ffmpeg -hide_banner"
wedit(){
which $@ >/dev/null 2>&1 && [ -n "$1" ] && vim $(which $@) && exit 0
printf "file doesn't exist.\n"
which $@ >/dev/null 2>&1 && [ -n "$1" ] && vim $(which $@) || printf "file doesn't exist.\n"
}
# Colorize commands when possible.
@ -52,7 +51,7 @@ alias \
# misc
alias \
ytmus="yt-dlp --embed-metadata --embed-thumbnail -xc -f bestaudio/best --restrict-filenames" \
ytmus="yt-dlp --embed-metadata --embed-thumbnail -xc -f 'bestaudio[ext=m4a]'" \
ytvid="yt-dlp --embed-metadata --embed-thumbnail --embed-chapters --write-auto-subs -f bestvideo'[height<=1080]''[ext=mp4]'+bestaudio'[ext=m4a]'/best'[ext=mp4]'/best" \
t="todo.sh -t -d $HOME/notebook/todo/todo.cfg" \
fj="firejail --profile=$HOME/.config/firejail/game.profile" \
@ -60,8 +59,8 @@ alias \
hgs="hugo server --noHTTPCache --disableFastRender"
# ytfzf
alias \
ytfzf="ytfzf --thumb-viewer=imv" \
ytfzf-video="ytfzf --detach -t" \
ytfzf-audio="ytfzf -m" \
ytfzf-history="ytfzf --detach -H"
#alias \
# ytfzf="ytfzf --thumb-viewer=imv" \
# ytfzf-video="ytfzf --detach -t" \
# ytfzf-audio="ytfzf -m" \
# ytfzf-history="ytfzf --detach -H"