some more keybindings
This commit is contained in:
		| @@ -2,29 +2,51 @@ | ||||
| { | ||||
|   programs.kitty.enable = true; | ||||
|  | ||||
|   home.packages = [ | ||||
|     pkgs.hyprshot | ||||
|     pkgs.nautilus | ||||
|     pkgs.gnome-control-center | ||||
|     pkgs.brightnessctl | ||||
|   ]; | ||||
|  | ||||
|  | ||||
|   wayland.windowManager.hyprland = { | ||||
|     enable = true; | ||||
|     systemd.enable = true; | ||||
|     settings = { | ||||
|       "$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 | ||||
|           "$mod, right, movefocus, r" # Move focus Right | ||||
|           "$mod, up, movefocus, u" # Move focus Up | ||||
|           "$mod, down, movefocus, d" # Move focus Down | ||||
|           # "$shiftMod, up, focusmonitor, -1" # Focus previous monitor | ||||
|           # "$shiftMod, down, focusmonitor, 1" # Focus next monitor | ||||
|           # "$shiftMod, left, layoutmsg, addmaster" # Add to master | ||||
|           # "$shiftMod, right, layoutmsg, removemaster" # Remove from master | ||||
|       # Global bindings | ||||
|       bind = [ | ||||
|         "$mod, return, exec, walker" | ||||
|         "$mod+Shift, return, exec, kitty" | ||||
|         "$mod, F, exec, firefox" | ||||
|         "$mod, s, exec, code" | ||||
|         "$mod, e, exec, nautilus" | ||||
|         "$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 = { | ||||
|         resize_on_border = true; | ||||
|         gaps_in = 5; | ||||
| @@ -58,7 +80,6 @@ | ||||
|       decoration = { | ||||
|         rounding = 5; | ||||
|       }; | ||||
|       # plugin.virtual-desktops = {} | ||||
|  | ||||
|       monitor = [ | ||||
|         "eDP-1, highres, 0x0, 1.5" # the internal laptop monitor | ||||
| @@ -104,7 +125,6 @@ | ||||
|         }; | ||||
|       }; | ||||
|     }; | ||||
|      | ||||
|   }; | ||||
|  | ||||
|  | ||||
| @@ -122,13 +142,6 @@ | ||||
|       websearch.prefix = "?"; | ||||
|       switcher.prefix = "/"; | ||||
|     }; | ||||
|  | ||||
|     # If this is not set the default styling is used. | ||||
|     # style = '' | ||||
|     #   * { | ||||
|     #     color: #dcd7ba; | ||||
|     #   } | ||||
|     # ''; | ||||
|   }; | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -3,5 +3,4 @@ | ||||
|   home.packages = [ | ||||
|     pkgs.keepassxc | ||||
|   ]; | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user