dotfiles/homes/me/ags/scripts/hyprland/workspace_action.sh

2 lines
113 B
Bash
Executable file

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