From c2d030149cea6664a4b9eebe7d309acb5755e971 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 24 Mar 2022 08:19:52 -0400 Subject: [PATCH] Update from current status on citadel --- home/.config/mimeapps.list | 2 ++ home/.gitconfig | 5 +++++ home/.xbindkeysrc | 3 ++- home/bin/time-in-zones | 7 +++---- home/lib/login_aliases.sh | 1 + home/lib/login_functions.sh | 2 +- 6 files changed, 14 insertions(+), 6 deletions(-) diff --git a/home/.config/mimeapps.list b/home/.config/mimeapps.list index 0899a3b..b1be34e 100644 --- a/home/.config/mimeapps.list +++ b/home/.config/mimeapps.list @@ -43,6 +43,7 @@ application/x-extension-xhtml=firefox.desktop;userapp-Firefox-FY7R00.desktop; application/x-extension-xht=firefox.desktop;userapp-Firefox-FY7R00.desktop; audio/vnd.audible.aax=vlc.desktop; text/vnd.graphviz=gvim.desktop; +x-scheme-handler/tg=userapp-Telegram Desktop-Q1EZH1.desktop; [Default Applications] application/illustrator=gimp.desktop @@ -92,3 +93,4 @@ application/x-extension-xhtml=userapp-Firefox-FY7R00.desktop application/x-extension-xht=userapp-Firefox-FY7R00.desktop audio/vnd.audible.aax=vlc.desktop x-scheme-handler/signalcaptcha=signal.desktop +x-scheme-handler/tg=userapp-Telegram Desktop-Q1EZH1.desktop diff --git a/home/.gitconfig b/home/.gitconfig index 0fb589e..fcd0539 100644 --- a/home/.gitconfig +++ b/home/.gitconfig @@ -15,3 +15,8 @@ # clean = git-lfs clean -- %f # smudge = git-lfs smudge -- %f # process = git-lfs filter-process +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true diff --git a/home/.xbindkeysrc b/home/.xbindkeysrc index 29d7ba8..977d9d4 100644 --- a/home/.xbindkeysrc +++ b/home/.xbindkeysrc @@ -143,7 +143,8 @@ Mod4 + t "cd ~/doc/ideas && gvim ideas.md" Mod4 + i -"cd ~/doc/drafts && drafts_prepend && gvim -c NERDTreeFind drafts.md" +#"cd ~/doc/drafts && drafts_prepend && gvim -c NERDTreeFind drafts.md" +"cd ~/doc/drafts && drafts_prepend && gvim drafts.md" Mod4 + d "cd ~/doc/notes && notes_prepend && gvim notes.md" Mod4 + n diff --git a/home/bin/time-in-zones b/home/bin/time-in-zones index cd6ab8e..17ecac9 100755 --- a/home/bin/time-in-zones +++ b/home/bin/time-in-zones @@ -5,10 +5,9 @@ set -e declare -a ZONES=( US/Pacific US/Eastern - Europe/Moscow - #Europe/Rome - Poland - Asia/Calcutta + Europe/Warsaw + Europe/Samara + Asia/Manila NZ ) diff --git a/home/lib/login_aliases.sh b/home/lib/login_aliases.sh index 4f0fcbf..8255c09 100644 --- a/home/lib/login_aliases.sh +++ b/home/lib/login_aliases.sh @@ -25,3 +25,4 @@ alias ideas='cd ~/doc/ideas && vim ideas.md' alias quotes='cd ~/doc/quotations && vim quotations.md' alias bitcoin='nc ticker.bitcointicker.co 10080' # https://github.com/chubin/awesome-console-services#Money alias weather='cat ~/.pista-out/weather-summary' +alias notify_status='s="$?"; if [[ "$s" -eq 0 ]]; then notify-send "done OK: $s"; else notify-send -u critical "done ERROR: $s"; fi' diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index a0738d9..4a266c2 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -335,7 +335,7 @@ _yt() { mkdir -p "$dir" cd "$dir" || kill -INT $$ echo "$uri" > 'uri' - youtube-dlc $opts -c --write-description --write-info-json "$uri" + youtube-dlc $opts -c --write-all-thumbnails --write-description --write-info-json "$uri" } yt_audio() { -- 2.20.1