diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-29 03:45:39 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-29 03:45:39 +0300 |
commit | a3162e715922d0a50c4a404ea0cd1570b1bbe5d3 (patch) | |
tree | d2b205dd188440fc7e86fa6c06de1f9438e3db01 /.local/bin | |
parent | f0fbf92e00f9a706cac8d643a05500badbd12d51 (diff) | |
download | dotfiles-a3162e715922d0a50c4a404ea0cd1570b1bbe5d3.tar.gz |
feat: add wallpaper and webcam scripts
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/wallpaper.sh | 5 | ||||
-rwxr-xr-x | .local/bin/webcam.sh | 1 |
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" |