From ecf5f1438bdcfb6bb602b893ae02d826ebb31ef7 Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Sat, 10 Jun 2023 15:23:06 +0300 Subject: [PATCH] Update dotfiles to linux.org.ru version Signed-off-by: Ivan Bushchik --- configs/.zshrc | 18 +++++++++++++--- configs/sway/config | 18 ++++++++++------ configs/sway/lock.sh | 3 ++- configs/sway/themes/catppuccin-macchiato | 6 +++--- configs/waybar/config | 13 ++++++------ configs/waybar/style.css | 26 ++++++++++++------------ 6 files changed, 51 insertions(+), 33 deletions(-) diff --git a/configs/.zshrc b/configs/.zshrc index af4eac4..950ab74 100644 --- a/configs/.zshrc +++ b/configs/.zshrc @@ -44,10 +44,12 @@ alias vi="nvim" alias vim="nvim" alias ls="ls --color=always" alias la="ls -la" +alias rh="rehash" alias upgrade_dotfiles="sh $HOME/.dotfiles/tools/upgrade.sh" alias timestamp='date -u +%FT%TZ' alias yt-dlp-opus="yt-dlp -f 251 -x" alias ltcp="cp ~/.dotfiles/latex_template/{macros,preamble,template,letterfonts}.tex ." +alias jekyll_export="jekyll b -d ./_archive && cd _archive && tar cf ../site.tar ./ && cd .. && gzip -9 -f site.tar && rm -rf _archive" # ffmpeg section @@ -57,12 +59,22 @@ ffmpeg_convert() { ffmpeg -i $2 -c:v ${1}_videotoolbox $(if [ ! -z $4 ]; then echo "-q:v $4"; fi ) $3 } +# Usage: ffmpeg_telegram_video_sticker: