From 9dc4c167fca23d9b88311bafc25d7daec6a6ab5d Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Tue, 19 Jan 2021 21:01:45 +0100 Subject: [PATCH] Some inprovements... --- .config/mimeapps.list | 16 ++++++++++------ .config/user-dirs.dirs | 2 +- .local/bin/scripts/blaze | 3 +-- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.config/mimeapps.list b/.config/mimeapps.list index 3fe2e7f..348f764 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -9,11 +9,15 @@ application/pdf=pdf.desktop; image/png=img.desktop; image/jpeg=img.desktop; image/gif=img.desktop; -application/rss+xml=text.desktop +application/rss+xml=text.desktop; application/atom+xml=text.desktop; -video/x-matroska=video.desktop -inode/directory=file.desktop -x-scheme-handler/http=linkhandler.desktop -x-scheme-handler/https=linkhandler.desktop +video/x-matroska=video.desktop; +inode/directory=file.desktop; +x-scheme-handler/http=linkhandler.desktop; +x-scheme-handler/https=linkhandler.desktop; application/pgp-keys=import_gpg.desktop; -x-scheme-handler/lbry=lbry.desktop +x-scheme-handler/lbry=lbry.desktop; +x-scheme-handler/tg=userapp-Telegram Desktop-SQE0W0.desktop + +[Added Associations] +x-scheme-handler/tg=userapp-Telegram Desktop-SQE0W0.desktop; diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs index 6703543..44ed163 100644 --- a/.config/user-dirs.dirs +++ b/.config/user-dirs.dirs @@ -4,7 +4,7 @@ # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # absolute path. No other format is supported. -# +# XDG_DESKTOP_DIR="$HOME/" XDG_DOCUMENTS_DIR="$HOME/doc" XDG_DOWNLOAD_DIR="$HOME/dl" diff --git a/.local/bin/scripts/blaze b/.local/bin/scripts/blaze index 2417e0c..46a707a 100755 --- a/.local/bin/scripts/blaze +++ b/.local/bin/scripts/blaze @@ -36,8 +36,7 @@ _ xrandr || _ slop || deps="$deps xorg-xrandr/slop" # output file, use $BLAZE_DIR and $BLAZE_FILE if they are set if [ ! "$BLAZE_DIR" ]; then _ xdg-user-dir && - BLAZE_DIR=$(xdg-user-dir VIDEOS 2>/dev/null) || - BLAZE_DIR="$HOME/Videos" + BLAZE_DIR="$(xdg-user-dir VIDEOS 2>/dev/null)/rec" fi [ ! -d "$BLAZE_DIR" ] && mkdir -p "$BLAZE_DIR" >/dev/null 2>&1