add(hyprland): plugin is fixed!
This commit is contained in:
@@ -71,22 +71,18 @@
|
||||
"SUPER, Tab, Cycle workspaces, workspace, previous"
|
||||
]
|
||||
++ (
|
||||
# Generate binds for Super + [1-10] to switch workspaces
|
||||
# and Super + Shift + [1-10] to move window to workspace
|
||||
# Generate binds for Super + [1-5] to switch workspaces on current monitor
|
||||
# and Super + Shift + [1-5] to move window to workspace on current monitor
|
||||
builtins.concatLists (builtins.genList (
|
||||
i: let
|
||||
ws = i + 1;
|
||||
key = toString (
|
||||
if ws == 10
|
||||
then 0
|
||||
else ws
|
||||
);
|
||||
key = toString ws;
|
||||
in [
|
||||
"SUPER, ${key}, Switch to workspace ${toString ws}, exec, hakase-workspace-switch-force ${toString ws}"
|
||||
"SUPER SHIFT, ${key}, Move window to workspace ${toString ws}, movetoworkspace, ${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}"
|
||||
]
|
||||
)
|
||||
10)
|
||||
5)
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user