Browse Source

Merge pull request #839 from bagnacauda/wall_update

Updated wall plugin to the standard utility file
master
Mischievous Meerkat GitHub 4 years ago
parent
commit
86abd83dfd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugins/wall

+ 1
- 1
plugins/wall View File

@@ -12,7 +12,7 @@ cmd_exists () {
}

if [ -n "$1" ]; then
if [ "$(mimetype --output-format %m "$1" | awk -F '/' '{print $1}')" = "image" ]; then
if [ "$(file --mime-type "$1" | awk '{print $2}' | 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


Loading…
Cancel
Save