aboutsummaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/wallpaper.sh5
-rwxr-xr-x.local/bin/webcam.sh1
2 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/wallpaper.sh b/.local/bin/wallpaper.sh
new file mode 100755
index 0000000..ed2d2bb
--- /dev/null
+++ b/.local/bin/wallpaper.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Launch SXIV and set wallpaper randomly from selected images
+
+WALLPAPERS_DIR=~/Pictures/Wallpapers
+xwallpaper --zoom $(sxiv $WALLPAPERS_DIR -t -o | shuf | head -n 1)
diff --git a/.local/bin/webcam.sh b/.local/bin/webcam.sh
new file mode 100755
index 0000000..3a0cbff
--- /dev/null
+++ b/.local/bin/webcam.sh
@@ -0,0 +1 @@
+mpv av://v4l2:/dev/video0 --profile=low-latency --untimed -vf "hflip"