dotfiles/ags/scripts/hyprland/workspace_action.sh

3 lines
113 B
Bash
Executable File

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