Some inprovements...

This commit is contained in:
Wiktor Zykubek 2021-01-19 21:01:45 +01:00
parent 08dbe4034c
commit 9dc4c167fc
3 changed files with 12 additions and 9 deletions

View File

@ -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;

View File

@ -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