diff --git a/.config/hypr/hyprland/scripts/workspace_action.sh b/.config/hypr/hyprland/scripts/workspace_action.sh index d1e64f8b3..dccff6ddb 100755 --- a/.config/hypr/hyprland/scripts/workspace_action.sh +++ b/.config/hypr/hyprland/scripts/workspace_action.sh @@ -1,3 +1,4 @@ +#!/usr/bin/env bash curr_workspace="$(hyprctl activeworkspace -j | jq -r ".id")" ##parses json output of hyprctl activeworkspace on the active monitor dispatcher="$1" shift ##Any dispatcher that hyprland supports, the shift shifts the target such that target is now in $1, not $2