Files
dotfiles/scripts/workspace.sh
2025-07-15 21:40:13 -07:00

8 lines
192 B
Bash
Executable File

workspaces=$(hyprctl workspaces -j | jq -r '.[].name')
target=$(echo "$workspaces" | wofi -d -p "Switch to workspace:")
if [[ -n "$target" ]]; then
hyprctl dispatch workspace "$target"
fi