nichts/modules/styling/config/scripts/hyprland/workspace_action.sh

2 lines
115 B
Bash
Executable file

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