Files
dotfiles/scripts/workspace.sh

8 lines
196 B
Bash
Executable File

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