From e8f35bf2830d33f782db834c4acc85b6bd370ea7 Mon Sep 17 00:00:00 2001 From: kenji Date: Mon, 5 Jan 2026 13:25:24 -0600 Subject: [PATCH] Revert "feat(hyprland): integrate force-switch script with split:workspace" This reverts commit c656cf81d24970d8947cc58b27d3692bdd511982. --- apps/hyprland/hypr/binds.nix | 2 +- apps/hyprland/scripts/movement.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/hyprland/hypr/binds.nix b/apps/hyprland/hypr/binds.nix index 300445c..8e880a2 100644 --- a/apps/hyprland/hypr/binds.nix +++ b/apps/hyprland/hypr/binds.nix @@ -66,7 +66,7 @@ ws = i + 1; key = toString ws; in [ - "SUPER, ${key}, Switch to workspace ${toString ws}, exec, hakase-workspace-switch-force ${toString ws}" + "SUPER, ${key}, Switch to workspace ${toString ws}, split:workspace, ${toString ws}" "SUPER SHIFT, ${key}, Move window to workspace ${toString ws}, split:movetoworkspace, ${toString ws}" ] ) diff --git a/apps/hyprland/scripts/movement.nix b/apps/hyprland/scripts/movement.nix index af97711..754da4a 100644 --- a/apps/hyprland/scripts/movement.nix +++ b/apps/hyprland/scripts/movement.nix @@ -19,10 +19,10 @@ $HYPRCTL dispatch togglespecialworkspace "''${workspace_name}" - $HYPRCTL dispatch split:workspace "''${chosen_workspace_num}" + $HYPRCTL dispatch workspace "''${chosen_workspace_num}" else echo "[LOG] workspace is not special" - $HYPRCTL dispatch split:workspace "''${chosen_workspace_num}" + $HYPRCTL dispatch workspace "''${chosen_workspace_num}" exit 0 fi