瀏覽代碼

Merge pull request #839 from bagnacauda/wall_update

Updated wall plugin to the standard utility file
master
Mischievous Meerkat GitHub 4 年之前
父節點
當前提交
86abd83dfd
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      plugins/wall

+ 1
- 1
plugins/wall 查看文件

@@ -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


||||||
x
 
000:0
Loading…
取消
儲存