Sophie Hirn 1年前
コミット
259bd67221
この署名に対応する既知のキーがデータベースに存在しません
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      .local/bin/mkwp

+ 1
- 1
.local/bin/mkwp ファイルの表示

@@ -62,7 +62,7 @@ function main() {
local joinargs=()

while [ -n "$1" ] && [ "$1" != "--" ]; do
if xrandr --listmonitors | grep -q "$1"; then
if xrandr --listmonitors | grep -q "[+* ]$1"; then
local res="$(getres "$1")"
run convert "$INDIR/motif.png" -resize "$res^" -gravity center -extent "$res" "$OUTDIR/$1.png"
joinargs+=("$OUTDIR/$1.png" -geometry "$(getoff "$1")" -composite)

読み込み中…
キャンセル
保存