Start configuring hyprland

This commit is contained in:
larstvei 2025-08-24 13:06:51 +02:00
parent 14acb57ba4
commit 93e377be7a
2 changed files with 37 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ zen-browser, ... }: { pkgs, zen-browser, ... }:
{ {
imports = [ imports = [
zen-browser.homeModules.beta zen-browser.homeModules.beta
@ -23,4 +23,33 @@
# find more options here: https://mozilla.github.io/policy-templates/ # find more options here: https://mozilla.github.io/policy-templates/
}; };
}; };
home.packages = [ pkgs.rofi-wayland ];
programs.kitty.enable = true;
wayland.windowManager.hyprland = {
enable = true;
settings = {
# Mod key (SUPER)
"$mod" = "SUPER";
"$shiftMod" = "SUPER_SHIFT";
bind = [
"$mod, RETURN, exec, kitty"
"$mod, E, exec, emacsclient -c"
"$mod, Q, killactive"
"$mod, SPACE, exec, rofi -show drun"
"$mod, H, movefocus, l"
"$mod, J, movefocus, d"
"$mod, K, movefocus, u"
"$mod, L, movefocus, r"
"$shiftMod, H, movewindow, l"
"$shiftMod, J, movewindow, d"
"$shiftMod, K, movewindow, u"
"$shiftMod, L, movewindow, r"
];
};
};
} }

View File

@ -9,4 +9,11 @@
programs._1password.enable = true; programs._1password.enable = true;
programs._1password-gui.enable = true; programs._1password-gui.enable = true;
programs.hyprland = {
enable = true;
withUWSM = true;
package = pkgs.hyprland;
portalPackage = pkgs.xdg-desktop-portal-hyprland;
};
} }