some more keybindings
This commit is contained in:
		| @@ -2,29 +2,51 @@ | |||||||
| { | { | ||||||
|   programs.kitty.enable = true; |   programs.kitty.enable = true; | ||||||
|  |  | ||||||
|  |   home.packages = [ | ||||||
|  |     pkgs.hyprshot | ||||||
|  |     pkgs.nautilus | ||||||
|  |     pkgs.gnome-control-center | ||||||
|  |     pkgs.brightnessctl | ||||||
|  |   ]; | ||||||
|  |  | ||||||
|  |  | ||||||
|   wayland.windowManager.hyprland = { |   wayland.windowManager.hyprland = { | ||||||
|     enable = true; |     enable = true; | ||||||
|     systemd.enable = true; |     systemd.enable = true; | ||||||
|     settings = { |     settings = { | ||||||
|       "$mod" = "SUPER"; |       "$mod" = "SUPER"; | ||||||
|       bind = |  | ||||||
|         [ |  | ||||||
|           "$mod, F, exec, firefox" |  | ||||||
|           "$mod, return, exec, walker" |  | ||||||
|           "$mod_SHIFT, return, exec, kitty" |  | ||||||
|           "$mod, s, exec, code" |  | ||||||
|           "$mod, Q, killactive," # Close window |  | ||||||
|           "$mod, T, togglefloating," # Toggle Floating |  | ||||||
|  |  | ||||||
|           "$mod, left, movefocus, l" # Move focus left |       # Global bindings | ||||||
|           "$mod, right, movefocus, r" # Move focus Right |       bind = [ | ||||||
|           "$mod, up, movefocus, u" # Move focus Up |         "$mod, return, exec, walker" | ||||||
|           "$mod, down, movefocus, d" # Move focus Down |         "$mod+Shift, return, exec, kitty" | ||||||
|           # "$shiftMod, up, focusmonitor, -1" # Focus previous monitor |         "$mod, F, exec, firefox" | ||||||
|           # "$shiftMod, down, focusmonitor, 1" # Focus next monitor |         "$mod, s, exec, code" | ||||||
|           # "$shiftMod, left, layoutmsg, addmaster" # Add to master |         "$mod, e, exec, nautilus" | ||||||
|           # "$shiftMod, right, layoutmsg, removemaster" # Remove from master |         "$mod+Shift, Q, killactive," # Close window | ||||||
|         ]; |         "$mod+Shift, T, togglefloating," # Toggle Floating | ||||||
|  |  | ||||||
|  |         # Move the focus | ||||||
|  |         "$mod, left, movefocus, l" | ||||||
|  |         "$mod, right, movefocus, r" | ||||||
|  |         "$mod, up, movefocus, u" | ||||||
|  |         "$mod, down, movefocus, d" | ||||||
|  |  | ||||||
|  |         # Move the window | ||||||
|  |         "$mod+Shift, left, movewindow, l" | ||||||
|  |         "$mod+Shift, right, movewindow, r" | ||||||
|  |         "$mod+Shift, up, movewindow, u" | ||||||
|  |         "$mod+Shift, down, movewindow, d" | ||||||
|  |  | ||||||
|  |         # Switch workspace | ||||||
|  |         "$mod+Ctrl, left, workspace, -1" | ||||||
|  |         "$mod+Ctrl, right, workspace, +1" | ||||||
|  |  | ||||||
|  |         # Screenshot | ||||||
|  |         "$mod, Print, exec, hyprshot -m region -o ~/Pictures/Screenshots" | ||||||
|  |         "$mod+Shift, Print, exec, hyprshot -m window -o ~/Pictures/Screenshots" | ||||||
|  |       ]; | ||||||
|  |  | ||||||
|       general = { |       general = { | ||||||
|         resize_on_border = true; |         resize_on_border = true; | ||||||
|         gaps_in = 5; |         gaps_in = 5; | ||||||
| @@ -32,7 +54,7 @@ | |||||||
|         border_size = 1; |         border_size = 1; | ||||||
|         layout = "master"; |         layout = "master"; | ||||||
|       }; |       }; | ||||||
|        |  | ||||||
|       misc = { |       misc = { | ||||||
|         disable_hyprland_logo = true; |         disable_hyprland_logo = true; | ||||||
|       }; |       }; | ||||||
| @@ -54,11 +76,10 @@ | |||||||
|         workspace_swipe_fingers = 4; |         workspace_swipe_fingers = 4; | ||||||
|         workspace_swipe_touch = true; |         workspace_swipe_touch = true; | ||||||
|       }; |       }; | ||||||
|      |  | ||||||
|       decoration = { |       decoration = { | ||||||
|         rounding = 5; |         rounding = 5; | ||||||
|       }; |       }; | ||||||
|       # plugin.virtual-desktops = {} |  | ||||||
|  |  | ||||||
|       monitor = [ |       monitor = [ | ||||||
|         "eDP-1, highres, 0x0, 1.5" # the internal laptop monitor |         "eDP-1, highres, 0x0, 1.5" # the internal laptop monitor | ||||||
| @@ -104,7 +125,6 @@ | |||||||
|         }; |         }; | ||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
|      |  | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -122,13 +142,6 @@ | |||||||
|       websearch.prefix = "?"; |       websearch.prefix = "?"; | ||||||
|       switcher.prefix = "/"; |       switcher.prefix = "/"; | ||||||
|     }; |     }; | ||||||
|  |  | ||||||
|     # If this is not set the default styling is used. |  | ||||||
|     # style = '' |  | ||||||
|     #   * { |  | ||||||
|     #     color: #dcd7ba; |  | ||||||
|     #   } |  | ||||||
|     # ''; |  | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
| @@ -3,5 +3,4 @@ | |||||||
|   home.packages = [ |   home.packages = [ | ||||||
|     pkgs.keepassxc |     pkgs.keepassxc | ||||||
|   ]; |   ]; | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user