diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-12-15 17:37:46 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-12-15 17:37:46 +0300 |
commit | f2867678d72e1a0a345122c5c6ff6d898feb5bf1 (patch) | |
tree | 3dd096a8130ecfcc11e03758cf476c5b86cd0f27 /dotfiles | |
parent | 2a8c8343d48b30ef0b497b2a13bedbcdd9077529 (diff) | |
download | swayrice-f2867678d72e1a0a345122c5c6ff6d898feb5bf1.tar.gz swayrice-f2867678d72e1a0a345122c5c6ff6d898feb5bf1.zip |
Smol fixes
it (mod) files opened with mpv. frsync grep regex.
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/.config/mimeapps.list | 1 | ||||
-rwxr-xr-x | dotfiles/.local/bin/frsync | 2 |
2 files changed, 2 insertions, 1 deletions
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 |