Sophie Hirn 1 год назад
Родитель
Сommit
259bd67221
Не найден GPG ключ соответствующий данной подписи
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)

Загрузка…
Отмена
Сохранить