mirror of
https://github.com/larstvei/nix-config.git
synced 2025-08-30 12:50:12 +00:00
Start configuring hyprland
This commit is contained in:
parent
14acb57ba4
commit
93e377be7a
@ -1,4 +1,4 @@
|
||||
{ zen-browser, ... }:
|
||||
{ pkgs, zen-browser, ... }:
|
||||
{
|
||||
imports = [
|
||||
zen-browser.homeModules.beta
|
||||
@ -23,4 +23,33 @@
|
||||
# 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -9,4 +9,11 @@
|
||||
|
||||
programs._1password.enable = true;
|
||||
programs._1password-gui.enable = true;
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
withUWSM = true;
|
||||
package = pkgs.hyprland;
|
||||
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user