feat: remove xdg-mime dependency for nnnedit

This commit is contained in:
Klesh Wong 2023-01-14 10:29:22 +08:00
parent 450cc87e82
commit e6e219be26

View File

@ -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"
;; ;;
*) *)