From f2867678d72e1a0a345122c5c6ff6d898feb5bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 15 Dec 2021 17:37:46 +0300 Subject: Smol fixes it (mod) files opened with mpv. frsync grep regex. --- dotfiles/.config/mimeapps.list | 1 + dotfiles/.local/bin/frsync | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles/.config/mimeapps.list b/dotfiles/.config/mimeapps.list index b230d15..7f6d7d3 100644 --- a/dotfiles/.config/mimeapps.list +++ b/dotfiles/.config/mimeapps.list @@ -7,6 +7,7 @@ application/xml=org.qutebrowser.qutebrowser.desktop; audio/mpeg=mpv.desktop; audio/x-xm=mpv.desktop; audio/x-mod=mpv.desktop; +audio/x-it=mpv.desktop; image/gif=imv.desktop; image/jpeg=sxiv.desktop; image/png=sxiv.desktop; diff --git a/dotfiles/.local/bin/frsync b/dotfiles/.local/bin/frsync index f61defc..d524569 100755 --- a/dotfiles/.local/bin/frsync +++ b/dotfiles/.local/bin/frsync @@ -16,7 +16,7 @@ else target="$2" fi -l=$(grep "$target" $HOME/.config/frsync.conf) +l=$(grep "^$target" $HOME/.config/frsync.conf) [ -z "$l" ] && echo "No such target $target" && exit 1 -- cgit v1.2.3