87 lines
1.8 KiB
Nix
87 lines
1.8 KiB
Nix
{
|
|
myConfig,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./config/binds.nix
|
|
./config/execs.nix
|
|
./config/rules.nix
|
|
./config/animation.nix
|
|
./config/decoration.nix
|
|
./config/env.nix
|
|
./config/colours.nix
|
|
];
|
|
|
|
home.file.".config/hypr/scripts/wsaction.fish" = {
|
|
source = builtins.toPath ./scripts/wsaction.fish;
|
|
executable = true;
|
|
};
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
xwayland.enable = true;
|
|
systemd.enable = true;
|
|
settings = {
|
|
"$mod" = "SUPER";
|
|
"$term" = "kitty --single-instance";
|
|
"$browser" = "firefox";
|
|
"$wsaction" = "fish -c ./scripts/wsaction.fish";
|
|
"$widget" = "qs -c caelestia";
|
|
|
|
monitor = myConfig.nixos.Hyprland.monitors;
|
|
general = {
|
|
gaps_in = 2;
|
|
gaps_out = 5;
|
|
border_size = 2;
|
|
# col.active_border = "#0DB7D4FF";
|
|
# col.inactive_border = "#31313600";
|
|
# col = {
|
|
# "inactive_border" = "rgba(595959aa)";
|
|
# "active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
|
|
# };
|
|
resize_on_border = false;
|
|
allow_tearing = false;
|
|
layout = "dwindle";
|
|
};
|
|
|
|
dwindle = {
|
|
pseudotile = true;
|
|
preserve_split = true;
|
|
};
|
|
|
|
master = {
|
|
new_status = "master";
|
|
};
|
|
|
|
misc = {
|
|
force_default_wallpaper = -1;
|
|
disable_hyprland_logo = true;
|
|
};
|
|
|
|
input = {
|
|
kb_layout = "us";
|
|
follow_mouse = 1;
|
|
sensitivity = 0;
|
|
force_no_accel = true;
|
|
repeat_delay = 250;
|
|
repeat_rate = 35;
|
|
|
|
touchpad = {
|
|
natural_scroll = false;
|
|
};
|
|
|
|
numlock_by_default = true;
|
|
};
|
|
|
|
gestures = {
|
|
workspace_swipe = false;
|
|
};
|
|
|
|
binds = {
|
|
workspace_back_and_forth = true;
|
|
scroll_event_delay = 0;
|
|
};
|
|
};
|
|
};
|
|
}
|