aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/imv-rifle
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-09-05 18:30:19 +0300
committerYaroslav <contact@yaroslavps.com>2020-09-05 18:30:19 +0300
commitf848575160ca441ee7129969c45c39f7f78ccbfc (patch)
tree8f24cd43279a933acee1ac33c588e3a8d1a390b1 /dotfiles/.local/bin/imv-rifle
parent0afbb41cc3bad6c6943d1ef1826b3b5464e9d7c2 (diff)
downloadswayrice-f848575160ca441ee7129969c45c39f7f78ccbfc.tar.gz
swayrice-f848575160ca441ee7129969c45c39f7f78ccbfc.zip
manage default applications with xdg-open/mimeo in ranger/vifm/etc.
Diffstat (limited to 'dotfiles/.local/bin/imv-rifle')
-rwxr-xr-xdotfiles/.local/bin/imv-rifle5
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/imv-rifle b/dotfiles/.local/bin/imv-rifle
new file mode 100755
index 0000000..26d1673
--- /dev/null
+++ b/dotfiles/.local/bin/imv-rifle
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+dir=$(dirname "$1")
+
+imv "$dir" -n "$1"