added hyprland config

This commit is contained in:
Odweta
2026-01-11 17:27:58 +01:00
parent 23dee4f5bd
commit 1ca7e8512d
2 changed files with 83 additions and 0 deletions
+4
View File
@@ -21,6 +21,10 @@
fontconfig.defaultFonts.monospace = [ "Hurmit Nerd Font Mono" ];
};
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
};
programs.hyprland = {
enable = true;
xwayland.enable = true;
+79
View File
@@ -16,6 +16,85 @@
programs.home-manager.enable = true;
wayland.windowManager.hyprland = {
enable = true;
settings = {
monitor = [
"HDMI-A-2,preffered,auto,1"
"eDP-1,auto,1"
];
input = {
kb_layout = "us,cz";
kb_variant = ",qwerty";
kb_options = "grp:alt_shift_toggle";
touchpad = {
natural_scroll = true;
tap = true;
};
};
general = {
gaps_in = 5;
gaps_out = 10;
border_size = 2;
layout = "master";
};
master = {
new_is_master = true;
mfact = 0.5;
};
decoration = {
rounding = 8;
blur = {
enable = true;
size = 3;
passes = 2;
};
};
animations = {
enable = true;
};
misc = {
disable_hyprland_logo = true;
disable_splash_rendering = true;
};
"$mod" = "SUPER";
"$term" = "kitty";
"$menu" = "wofi --show run";
bind = [
"$mod SHIFT, RETURN, exec, $term"
"$mod SHIFT, C, killactive"
"$mod SHIFT, Q, exit"
"$mod, P, $menu"
"$mod, H, movefocus, l"
"$mod, J, movefocus, r"
"$mod, K, movefocus, u"
"$mod, L, movefocus, d"
"$mod, 1, workspace, 1"
"$mod, 2, workspace, 2"
"$mod, 3, workspace, 3"
"$mod, 4, workspace, 4"
"$mod SHIFT, 1, movetoworkspace, 1"
"$mod SHIFT, 2, movetoworkspace, 2"
"$mod SHIFT, 3, movetoworkspace, 3"
"$mod SHIFT, 4, movetoworkspace, 4"
];
};
};
programs.wofi.enable = true;
programs.kitty = {
enable = true;