Przeglądaj źródła

Updated wall plugin to the standard utility file

master
Simone 4 lat temu
rodzic
commit
f23452396e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      plugins/wall

+ 1
- 1
plugins/wall Wyświetl plik

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


if [ -n "$1" ]; then 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 if [ "$(cmd_exists nitrogen)" -eq "0" ]; then
nitrogen --set-zoom-fill --save "$1" nitrogen --set-zoom-fill --save "$1"
elif [ "$(cmd_exists wal)" -eq "0" ]; then elif [ "$(cmd_exists wal)" -eq "0" ]; then


Ładowanie…
Anuluj
Zapisz