some more keybindings

This commit is contained in:
Remy Moll 2025-02-24 12:13:33 +01:00
parent 1d2b3f799d
commit 7bf8c855b8
2 changed files with 41 additions and 29 deletions

View File

@ -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;
@ -58,7 +80,6 @@
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;
# }
# '';
}; };

View File

@ -3,5 +3,4 @@
home.packages = [ home.packages = [
pkgs.keepassxc pkgs.keepassxc
]; ];
} }