infrastructure/nixos/hosts/thalassa/null/home/eww/scripts/workspaces.sh

8 lines
206 B
Bash
Executable file

#!/bin/sh
workspaces() {
./scripts/workspaces.lua
}
workspaces
tail -f /tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/hyprland.log | grep --line-buffered "Changed to workspace" | while read -r; do
workspaces
done