16 lines
140 B
Bash
Executable File
16 lines
140 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
IMAGE="$1"
|
|
|
|
if [ -z $IMAGE ]; then
|
|
echo "Provide a image"
|
|
exit 1
|
|
fi
|
|
|
|
wal -i "$IMAGE" -n
|
|
|
|
killall -SIGUSR2 waybar
|
|
|