15 lines
438 B
Bash
Executable File
15 lines
438 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
|
set -euo pipefail
|
|
|
|
SOCK="$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock"
|
|
|
|
exec socat -U - UNIX-CONNECT:"$SOCK" | while IFS= read -r line; do
|
|
case "$line" in
|
|
workspace\>\>*)
|
|
WS="${line#workspace>>}"
|
|
"$HOME/Wallpapers/scripts/ws-wallpaper.sh" "$WS"
|
|
;;
|
|
esac
|
|
done
|