#!/bin/bash set -e IMAGE="$1" if [ -z $IMAGE ]; then echo "Provide a image" exit 1 fi wal -i "$IMAGE" -n killall -SIGUSR2 waybar