Sophie Hirn 1 year ago
parent
commit
259bd67221
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .local/bin/mkwp

+ 1
- 1
.local/bin/mkwp View File

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

Loading…
Cancel
Save