Files
nixos-migration/config/hypr/workspace_next.sh
2026-06-15 00:24:26 +03:00

6 lines
144 B
Bash
Executable File

#!/bin/bash
current=$(hyprctl activeworkspace -j | jq '.id')
if [ "$current" -lt 5 ]; then
hyprctl dispatch workspace $(( current + 1 ))
fi