From 83002c6b472236f47a549da98449215a11a9bc35 Mon Sep 17 00:00:00 2001 From: hok7z Date: Sat, 2 Mar 2024 14:24:48 +0200 Subject: [PATCH] Update dotfiles --- bin/setwallpaper | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bin/setwallpaper diff --git a/bin/setwallpaper b/bin/setwallpaper new file mode 100755 index 0000000..61c6ae7 --- /dev/null +++ b/bin/setwallpaper @@ -0,0 +1,9 @@ +#!/bin/bash + +if [ -z "$1" ] +then + echo "./setwallpaper [path]"; + exit 1; +fi + +swww img --transition-type wipe --transition-fps 90 "$1" && wal -i "$1"