瀏覽代碼

Fix #839

master
Arun Prakash Jana 3 年之前
父節點
當前提交
5d8738544b
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      plugins/wall

+ 1
- 1
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


Loading…
取消
儲存