diff options
author | xyz <gky44px1999@gmail.com> | 2021-10-15 18:08:22 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-10-15 18:08:22 -0700 |
commit | b034b19601b296ab3ade7f3ab1c6f1fd301f0540 (patch) | |
tree | 74dddb34869783c490810e441cbe442138ba3519 /.local | |
parent | a36dafde4979611fe8e4829e5c3e51d310ad80e9 (diff) |
refactor
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/convwall | 4 | ||||
-rwxr-xr-x | .local/bin/shufwall | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/convwall b/.local/bin/convwall index 286e85a8..dff9c43b 100755 --- a/.local/bin/convwall +++ b/.local/bin/convwall @@ -1,8 +1,8 @@ #!/bin/sh # target image aspect ratio -wratio=$SCRWIDTH -hratio=$SCRHEIGHT +wratio=$SCR_WIDTH +hratio=$SCR_HEIGHT # chop how much from center chopnum=99% diff --git a/.local/bin/shufwall b/.local/bin/shufwall index 4703125f..5b249e12 100755 --- a/.local/bin/shufwall +++ b/.local/bin/shufwall @@ -6,4 +6,4 @@ else file=$(find -L "$@" -maxdepth 1 -type f | shuf -n 1) fi -display -resize "${SCRWIDTH}x$SCRHEIGHT" -backdrop -window root "$file" +display -resize "${SCR_WIDTH}x$SCR_HEIGHT" -backdrop -window root "$file" |