summaryrefslogtreecommitdiff
path: root/home/config/hypr/config.d/workspaces.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/config/hypr/config.d/workspaces.conf (renamed from home-config/hypr/config.d/workspaces.conf)31
1 files changed, 26 insertions, 5 deletions
diff --git a/home-config/hypr/config.d/workspaces.conf b/home/config/hypr/config.d/workspaces.conf
index 2f3e81c..408b05f 100644
--- a/home-config/hypr/config.d/workspaces.conf
+++ b/home/config/hypr/config.d/workspaces.conf
@@ -1,6 +1,6 @@
dwindle {
- pseudotile = yes
+ pseudotile = yes
preserve_split = yes
}
@@ -17,10 +17,10 @@ bind = $mod, down, movefocus, d
# Move window across workspace with mod + arrow keys
-bind = $mod SHIFT, left, movewindow, l
-bind = $mod SHIFT, right, movewindow, r
-bind = $mod SHIFT, up, movewindow, u
-bind = $mod SHIFT, down, movewindow, d
+bind = $mod SHIFT, left, hy3:movewindow, l
+bind = $mod SHIFT, right, hy3:movewindow, r
+bind = $mod SHIFT, up, hy3:movewindow, u
+bind = $mod SHIFT, down, hy3:movewindow, d
# Switch workspaces with mod + [0-9]
@@ -47,6 +47,27 @@ bind = $mod SHIFT, 8, movetoworkspacesilent, 8
bind = $mod SHIFT, 9, movetoworkspacesilent, 9
bind = $mod SHIFT, 0, movetoworkspacesilent, 10
+# Move to tab
+
+bind = $mod CONTROL, 1, hy3:focustab, index, 01
+bind = $mod CONTROL, 2, hy3:focustab, index, 02
+bind = $mod CONTROL, 3, hy3:focustab, index, 03
+bind = $mod CONTROL, 4, hy3:focustab, index, 04
+bind = $mod CONTROL, 5, hy3:focustab, index, 05
+bind = $mod CONTROL, 6, hy3:focustab, index, 06
+bind = $mod CONTROL, 7, hy3:focustab, index, 07
+bind = $mod CONTROL, 8, hy3:focustab, index, 08
+bind = $mod CONTROL, 9, hy3:focustab, index, 09
+bind = $mod CONTROL, 0, hy3:focustab, index, 10
+
+bindn = , mouse:272, hy3:focustab, mouse
+bindn = , mouse_down, hy3:focustab, l, require_hovered
+bindn = , mouse_up, hy3:focustab, r, require_hovered
+
+bind = $mod SHIFT, B, hy3:makegroup, h
+bind = $mod SHIFT, V, hy3:makegroup, v
+bind = $mod SHIFT, C, hy3:changegroup, toggletab
+
# Scroll through existing workspaces with mod + scroll
bind = $mod, mouse_down, workspace, e+1