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