hyprcrux/.config/ags/scripts/hyprland/executable_workspace_action.sh
2024-04-11 00:21:35 -04:00

2 lines
115 B
Bash

#!/usr/bin/env bash
hyprctl dispatch "$1" $(((($(hyprctl activeworkspace -j | gojq -r .id) - 1) / 10) * 10 + $2))