nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 5d8738544b0acb3ddf4d827601c9df8d7f07d6b4
parent 86abd83dfdf58f0dc4d94ece599c45df2f9c9f15
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Mon, 18 Jan 2021 18:59:59 +0530

Fix #839

Diffstat:
Mplugins/wall | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/wall b/plugins/wall @@ -12,7 +12,7 @@ cmd_exists () { } if [ -n "$1" ]; then - if [ "$(file --mime-type "$1" | awk '{print $2}' | awk -F '/' '{print $1}')" = "image" ]; then + if [ "$(file --mime-type "$1" | awk '{print $NF}' | awk -F '/' '{print $1}')" = "image" ]; then if [ "$(cmd_exists nitrogen)" -eq "0" ]; then nitrogen --set-zoom-fill --save "$1" elif [ "$(cmd_exists wal)" -eq "0" ]; then