Regenerated

This commit is contained in:
2026-04-03 15:34:53 +02:00
parent 72776d68c7
commit 8ed4f68c54
6 changed files with 304 additions and 362 deletions
+304 -304
View File
File diff suppressed because it is too large Load Diff
@@ -1,8 +0,0 @@
#!/usr/bin/env bash
active_ws=$(hyprctl activeworkspace -j | jq -r '.id')
clients=$(hyprctl clients -j | jq -r \
".[] | select(.workspace.id==$active_ws) | \"\(.address)|\(.title)\"")
choice=$(echo "$clients" | cut -d'|' -f2 | wofi -dmenu -j -p "Windows")
[ -z "$choice" ] && exit 0
addr=$(echo "$clients" | grep "|$choice" | head -n1 | cut -d'|' -f1)
hyprctl dispatch focuswindow address:$addr
@@ -1,14 +0,0 @@
#!/usr/bin/env bash
# Get active workspace ID
active_ws=$(hyprctl activeworkspace -j | jq -r '.id')
# Count clients in the active workspace
clients=$(hyprctl -j clients | jq --argjson w "$active_ws" '[.[] | select(.workspace.id==$w)] | length')
# Output valid JSON for Waybar
if [ "$clients" -eq 0 ]; then
echo "{\"text\":\"$active_ws\"}"
else
echo "{\"text\":\"$active_ws$clients\"}"
fi
@@ -1,14 +0,0 @@
#!/usr/bin/env bash
# Get active workspace ID
active_ws=$(hyprctl activeworkspace -j | jq -r '.id')
# Count clients in the active workspace
clients=$(hyprctl -j clients | jq --argjson w "$active_ws" '[.[] | select(.workspace.id==$w)] | length')
# Output valid JSON for Waybar
if [ "$clients" -eq 0 ]; then
echo "{\"text\":\"$active_ws\"}"
else
echo "{\"text\":\"$active_ws$clients\"}"
fi
@@ -1,14 +0,0 @@
#!/usr/bin/env bash
# Get active workspace ID
active_ws=$(hyprctl activeworkspace -j | jq -r '.id')
# Count clients in the active workspace
clients=$(hyprctl -j clients | jq --argjson w "$active_ws" '[.[] | select(.workspace.id==$w)] | length')
# Output valid JSON for Waybar
if [ "$clients" -eq 0 ]; then
echo "{\"text\":\"$active_ws\"}"
else
echo "{\"text\":\"$active_ws$clients\"}"
fi
@@ -1,8 +0,0 @@
#!/usr/bin/env bash
active_ws=$(hyprctl activeworkspace -j | jq -r '.id')
clients=$(hyprctl clients -j | jq -r \
".[] | select(.workspace.id==$active_ws) | \"\(.address)|\(.title)\"")
choice=$(echo "$clients" | cut -d'|' -f2 | wofi -dmenu -j -p "Windows")
[ -z "$choice" ] && exit 0
addr=$(echo "$clients" | grep "|$choice" | head -n1 | cut -d'|' -f1)
hyprctl dispatch focuswindow address:$addr