nix-config/modules/wm/hyprland/config/eww/scripts/windows.sh
2025-03-18 16:57:39 +01:00

7 lines
132 B
Bash
Executable file

#!/bin/sh
if [ $(hyprctl -j clients | jq '.[].workspace.id' | grep -w $1 | wc -l) -eq 0 ]; then
echo "⬦"
else
echo "⟐"
fi