mirror of
https://github.com/larstvei/nix-config.git
synced 2025-12-28 03:10:13 +00:00
59 lines
1.1 KiB
Nix
59 lines
1.1 KiB
Nix
{
|
|
imports = [
|
|
./bindings
|
|
./hypridle
|
|
./hyprlock
|
|
];
|
|
|
|
programs.kitty.enable = true;
|
|
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
exec-once = [ "hyprlock || hyprctl dispatch exit" ];
|
|
|
|
misc.disable_hyprland_logo = true;
|
|
|
|
general = {
|
|
border_size = 2;
|
|
layout = "master";
|
|
};
|
|
|
|
# No borders or gaps when there is only one window
|
|
workspace = "w[t1], gapsin:0, gapsout:0, border:0, rounding:0";
|
|
|
|
decoration = {
|
|
rounding = 16;
|
|
inactive_opacity = 0.75;
|
|
blur.enabled = false;
|
|
shadow.enabled = false;
|
|
};
|
|
|
|
monitor = [ ",preferred,auto,1" ];
|
|
|
|
gestures.gesture = "3, horizontal, workspace";
|
|
|
|
animations = {
|
|
enabled = true;
|
|
animation = [
|
|
"global, 1, 1.5, default"
|
|
"windows, 1, 1.5, default, slide"
|
|
"workspaces, 0, 0, default"
|
|
];
|
|
};
|
|
|
|
cursor = {
|
|
enable_hyprcursor = false;
|
|
inactive_timeout = 2;
|
|
};
|
|
|
|
env = [
|
|
"XCURSOR_THEME,Adwaita"
|
|
"XCURSOR_SIZE,24"
|
|
];
|
|
};
|
|
};
|
|
}
|