mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 21:23:55 -05:00
hyprland: add hyprgnome for gnome-like workspace switching
This commit is contained in:
parent
dee2c50bd7
commit
0cc8e70b4b
|
@ -8,6 +8,7 @@
|
||||||
hyprcursor
|
hyprcursor
|
||||||
hypridle
|
hypridle
|
||||||
hyprlock
|
hyprlock
|
||||||
|
hyprnome
|
||||||
hyprpaper
|
hyprpaper
|
||||||
hyprshade
|
hyprshade
|
||||||
hyprshot
|
hyprshot
|
||||||
|
|
|
@ -183,29 +183,36 @@ bind = $mainMod, right, movefocus, r
|
||||||
bind = $mainMod, up, movefocus, u
|
bind = $mainMod, up, movefocus, u
|
||||||
bind = $mainMod, down, movefocus, d
|
bind = $mainMod, down, movefocus, d
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
|
||||||
bind = $mainMod, 1, workspace, 1
|
|
||||||
bind = $mainMod, 2, workspace, 2
|
|
||||||
bind = $mainMod, 3, workspace, 3
|
|
||||||
bind = $mainMod, 4, workspace, 4
|
|
||||||
bind = $mainMod, 5, workspace, 5
|
|
||||||
bind = $mainMod, 6, workspace, 6
|
|
||||||
bind = $mainMod, 7, workspace, 7
|
|
||||||
bind = $mainMod, 8, workspace, 8
|
|
||||||
bind = $mainMod, 9, workspace, 9
|
|
||||||
bind = $mainMod, 0, workspace, 10
|
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
# Gnome-like workspaces.
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
bind = $mainMod, 1, exec, hyprnome --previous
|
||||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
bind = $mainMod, 2, exec, hyprnome
|
||||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
bind = $mainMod SHIFT, 1, exec, hyprnome --previous --move
|
||||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
bind = $mainMod SHIFT, 2, exec, hyprnome --move
|
||||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
|
||||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
# # Switch workspaces with mainMod + [0-9]
|
||||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
# bind = $mainMod, 1, workspace, 1
|
||||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
# bind = $mainMod, 2, workspace, 2
|
||||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
# bind = $mainMod, 3, workspace, 3
|
||||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
# bind = $mainMod, 4, workspace, 4
|
||||||
|
# bind = $mainMod, 5, workspace, 5
|
||||||
|
# bind = $mainMod, 6, workspace, 6
|
||||||
|
# bind = $mainMod, 7, workspace, 7
|
||||||
|
# bind = $mainMod, 8, workspace, 8
|
||||||
|
# bind = $mainMod, 9, workspace, 9
|
||||||
|
# bind = $mainMod, 0, workspace, 10
|
||||||
|
|
||||||
|
# # Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
|
# bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||||
|
# bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||||
|
# bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||||
|
# bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||||
|
# bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||||
|
# bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||||
|
# bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||||
|
# bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||||
|
# bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||||
|
# bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||||
|
|
||||||
# Example special workspace (scratchpad)
|
# Example special workspace (scratchpad)
|
||||||
bind = $mainMod, S, togglespecialworkspace, magic
|
bind = $mainMod, S, togglespecialworkspace, magic
|
||||||
|
|
Loading…
Reference in a new issue