summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-07-26 09:33:34 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-07-26 09:33:34 -0400
commitc8856a355b777156ccad4fd1f01d32e10684b0b4 (patch)
tree6767eef106a5e70b29fcea7aa69cfb72abe0d85b
parente6a83169943c909622a1e41439fb2ffb3a1bec31 (diff)
downloadscripts-c8856a355b777156ccad4fd1f01d32e10684b0b4.tar.xz
scripts-c8856a355b777156ccad4fd1f01d32e10684b0b4.zip
added imager to view all images in a dir from vifm
-rwxr-xr-xabraham-porter.sh3
-rwxr-xr-xautolocker.sh2
-rwxr-xr-ximager.sh9
3 files changed, 12 insertions, 2 deletions
diff --git a/abraham-porter.sh b/abraham-porter.sh
index 7aef841..0669391 100755
--- a/abraham-porter.sh
+++ b/abraham-porter.sh
@@ -23,7 +23,8 @@ NO_WANT_ANOTHER_PROVIDED=6
get_port() {
cwd=$(pwd)
cd "$ports_dir"
- printf "%s\n" */* | dmenu -p "Port"
+ printf "%s\n" */* > /tmp/ports.list
+ dmenu -p "Port" < /tmp/ports.list
cd "$cwd"
}
diff --git a/autolocker.sh b/autolocker.sh
index 9f6a894..f7b0b2a 100755
--- a/autolocker.sh
+++ b/autolocker.sh
@@ -10,7 +10,7 @@ else
xautolock \
-detectsleep \
-killtime 10 \
- -killer "acpiconf -s3" \
+ -killer "doas acpiconf -s3" \
-notify 10 \
-time 10 \
-locker "i3lock -n -f -c 000000 -i ~/.local/share/wallpapers/lock.png; sleep 0.2" \
diff --git a/imager.sh b/imager.sh
new file mode 100755
index 0000000..42e13f0
--- /dev/null
+++ b/imager.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+ls *.bmp \
+ *.jpg \
+ *.jpeg \
+ *.JPG \
+ *.png \
+ *.gif \
+ *.webp \
+ | xargs sxiv -a "$1"