added wal.sh
This commit is contained in:
parent
571d65bda8
commit
fa6deede5f
15
.local/share/scripts/wal.sh
Executable file
15
.local/share/scripts/wal.sh
Executable 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user