added wal.sh

This commit is contained in:
Niklas Kapelle 2024-01-12 02:48:16 +01:00
parent 571d65bda8
commit fa6deede5f
Signed by: niklas
GPG Key ID: 4EB651B36D841D16

15
.local/share/scripts/wal.sh Executable file
View File

@ -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