From fa6deede5ff18af59df0dd7d3167afd53f43e3e4 Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Fri, 12 Jan 2024 02:48:16 +0100 Subject: [PATCH] added wal.sh --- .local/share/scripts/wal.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 .local/share/scripts/wal.sh diff --git a/.local/share/scripts/wal.sh b/.local/share/scripts/wal.sh new file mode 100755 index 0000000..bfa3bf8 --- /dev/null +++ b/.local/share/scripts/wal.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +IMAGE="$1" + +if [ -z $IMAGE ]; then + echo "Provide a image" + exit 1 +fi + +wal -i "$IMAGE" -n + +killall -SIGUSR2 waybar +