diff --git a/home/hypr/default.nix b/home/hypr/default.nix index 67d4a03f..99a2f2b4 100644 --- a/home/hypr/default.nix +++ b/home/hypr/default.nix @@ -8,6 +8,7 @@ hyprcursor hypridle hyprlock + hyprnome hyprpaper hyprshade hyprshot diff --git a/home/hypr/hyprland.conf b/home/hypr/hyprland.conf index e194b1f4..6faa174a 100644 --- a/home/hypr/hyprland.conf +++ b/home/hypr/hyprland.conf @@ -183,29 +183,36 @@ bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u 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] -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 +# Gnome-like workspaces. +bind = $mainMod, 1, exec, hyprnome --previous +bind = $mainMod, 2, exec, hyprnome +bind = $mainMod SHIFT, 1, exec, hyprnome --previous --move +bind = $mainMod SHIFT, 2, exec, hyprnome --move + +# # 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] +# 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) bind = $mainMod, S, togglespecialworkspace, magic