feat: remove xdg-mime dependency for nnnedit
This commit is contained in:
parent
450cc87e82
commit
e6e219be26
|
@ -1,8 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
MIMETYPE=$(xdg-mime query filetype "$1")
|
case "$1" in
|
||||||
case "$MIMETYPE" in
|
*.jpg)
|
||||||
image/*)
|
*.jpeg)
|
||||||
|
*.png)
|
||||||
|
*.gif)
|
||||||
gimp "$1"
|
gimp "$1"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user