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 | |
parent | a36dafde4979611fe8e4829e5c3e51d310ad80e9 (diff) |
refactor
-rwxr-xr-x | .local/bin/convwall | 4 | ||||
-rwxr-xr-x | .local/bin/shufwall | 2 | ||||
-rw-r--r-- | .profile | 4 |
3 files changed, 5 insertions, 5 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" @@ -57,8 +57,8 @@ export FZF_ALT_C_COMMAND="sudo find . -mindepth 1 -path '*/\.git' -prune -o -typ #export CM_OWN_CLIPBOARD=1 #export CM_MAX_CLIPS=8 -export SCRWIDTH=1600 -export SCRHEIGHT=900 +export SCR_WIDTH=1600 +export SCR_HEIGHT=900 # startx when login, should be put after environmental variables for .xinitrc to use if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then |