diff --git a/modules/hyprland/default.nix b/modules/hyprland/default.nix index c9e004e5..75b0f25f 100644 --- a/modules/hyprland/default.nix +++ b/modules/hyprland/default.nix @@ -170,16 +170,6 @@ let VARIABLES = import ../../src/variables.nix; in { bind = SUPER_SHIFT, 8, movetoworkspace, 8 bind = SUPER_SHIFT, 9, movetoworkspace, 9 bind = SUPER_SHIFT, 0, movetoworkspace, 10 - bind = SUPER_CTRL, 1, exec, ~/.config/hypr/tags.sh 1 - bind = SUPER_CTRL, 2, exec, ~/.config/hypr/tags.sh 2 - bind = SUPER_CTRL, 3, exec, ~/.config/hypr/tags.sh 3 - bind = SUPER_CTRL, 4, exec, ~/.config/hypr/tags.sh 4 - bind = SUPER_CTRL, 5, exec, ~/.config/hypr/tags.sh 5 - bind = SUPER_CTRL, 6, exec, ~/.config/hypr/tags.sh 6 - bind = SUPER_CTRL, 7, exec, ~/.config/hypr/tags.sh 7 - bind = SUPER_CTRL, 8, exec, ~/.config/hypr/tags.sh 8 - bind = SUPER_CTRL, 9, exec, ~/.config/hypr/tags.sh 9 - bind = SUPER_CTRL, 0, exec, ~/.config/hypr/tags.sh 10 layerrule = blur,waybar layerrule = blur,rofi @@ -213,7 +203,6 @@ let VARIABLES = import ../../src/variables.nix; in { vfr = no } ''; - xdg.configFile."hypr/tags.sh".source = ./tags.sh; home.file.".icons/default/index.theme".text = /* ini */ '' [icon theme] diff --git a/modules/hyprland/tags.sh b/modules/hyprland/tags.sh deleted file mode 100755 index b8be031d..00000000 --- a/modules/hyprland/tags.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# Tag-like script that moves windows from X workspace to the current workspace - -# Get IDs of windows on the other workspace -ids="$(hyprctl clients -j | jq -r ".[] | select(.workspace.id == "$1") | .address")" - -# Move those windows to the current workspace -for id in $ids; do - hyprctl dispatch movetoworkspacesilent "$(hyprctl monitors -j | jq -r '.[] | select(.focused==true) | .activeWorkspace.id')",address:"$id" - hyprctl dispatch focuswindow address:"$id" -done