2025-11-07 23:06:50 -05:00
|
|
|
{
|
2025-11-27 15:23:59 -05:00
|
|
|
# inputs,
|
2025-11-07 23:06:50 -05:00
|
|
|
pkgs,
|
2025-11-09 14:34:44 -05:00
|
|
|
config,
|
2025-11-07 23:06:50 -05:00
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
{
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
|
hyprpolkitagent
|
2025-12-21 22:30:55 -05:00
|
|
|
hyprpicker
|
2025-11-07 23:06:50 -05:00
|
|
|
];
|
|
|
|
|
|
2025-12-07 23:51:09 -05:00
|
|
|
# xdg.configFile."uwsm/env".source =
|
|
|
|
|
# "${config.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh";
|
2025-11-27 15:23:59 -05:00
|
|
|
|
2025-11-07 23:06:50 -05:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
|
enable = true;
|
2025-12-07 23:51:09 -05:00
|
|
|
# systemd.enable = false;
|
2025-11-07 23:06:50 -05:00
|
|
|
package = null;
|
|
|
|
|
portalPackage = null;
|
|
|
|
|
|
|
|
|
|
settings = {
|
2025-11-09 14:34:44 -05:00
|
|
|
source = [
|
|
|
|
|
"${config.xdg.configHome}/hypr/monitors.conf"
|
2025-11-07 23:06:50 -05:00
|
|
|
];
|
|
|
|
|
|
2025-12-15 23:48:36 -05:00
|
|
|
animations = {
|
|
|
|
|
# Stolen from https://github.com/Vobledoble/nixparency-dots/
|
|
|
|
|
enabled = true;
|
|
|
|
|
bezier = [
|
|
|
|
|
"easeOutQuint,0.23,1,0.32,1"
|
|
|
|
|
"easeInOutCubic,0.65,0.05,0.36,1"
|
|
|
|
|
"linear,0,0,1,1"
|
|
|
|
|
"almostLinear,0.5,0.5,0.75,1.0"
|
|
|
|
|
"quick,0.15,0,0.1,1"
|
|
|
|
|
];
|
|
|
|
|
animation = [
|
|
|
|
|
"global, 1, 10, default"
|
|
|
|
|
"border, 1, 5.39, easeOutQuint"
|
|
|
|
|
"windows, 1, 4.79, easeOutQuint"
|
|
|
|
|
"windowsIn, 1, 4.1, easeOutQuint, popin 87%"
|
|
|
|
|
"windowsOut, 1, 1.49, linear, popin 87%"
|
|
|
|
|
"fadeIn, 1, 1.73, almostLinear"
|
|
|
|
|
"fadeOut, 1, 1.46, almostLinear"
|
|
|
|
|
"fade, 1, 3.03, quick"
|
|
|
|
|
"layers, 1, 3.81, easeOutQuint"
|
|
|
|
|
"layersIn, 1, 4, easeOutQuint, fade"
|
|
|
|
|
"layersOut, 1, 1.5, linear, fade"
|
|
|
|
|
"fadeLayersIn, 1, 1.79, almostLinear"
|
|
|
|
|
"fadeLayersOut, 1, 1.39, almostLinear"
|
|
|
|
|
"workspaces, 1, 1.94, almostLinear, fade"
|
|
|
|
|
"workspacesIn, 1, 1.21, almostLinear, fade"
|
|
|
|
|
"workspacesOut, 1, 1.94, almostLinear, fade"
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
2025-11-16 01:17:15 -05:00
|
|
|
general = {
|
|
|
|
|
gaps_in = 5;
|
|
|
|
|
gaps_out = 10;
|
|
|
|
|
border_size = 2;
|
|
|
|
|
"col.active_border" = "rgb(4479A4)";
|
|
|
|
|
"col.inactive_border" = "rgba(4479A480)";
|
|
|
|
|
};
|
2025-11-09 14:34:44 -05:00
|
|
|
|
2025-11-07 23:06:50 -05:00
|
|
|
decoration = {
|
|
|
|
|
rounding = 10;
|
|
|
|
|
|
|
|
|
|
active_opacity = 0.95;
|
|
|
|
|
inactive_opacity = 0.85;
|
|
|
|
|
fullscreen_opacity = 1.0;
|
|
|
|
|
|
|
|
|
|
blur = {
|
|
|
|
|
enabled = true;
|
|
|
|
|
size = 8;
|
|
|
|
|
passes = 3;
|
|
|
|
|
new_optimizations = true;
|
2025-12-15 23:48:36 -05:00
|
|
|
popups = true;
|
2025-11-07 23:06:50 -05:00
|
|
|
};
|
2025-12-15 23:48:36 -05:00
|
|
|
|
|
|
|
|
shadow.enabled = false;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
misc = {
|
|
|
|
|
vfr = true;
|
2025-11-07 23:06:50 -05:00
|
|
|
};
|
|
|
|
|
|
2025-11-16 01:17:15 -05:00
|
|
|
layerrule = [
|
|
|
|
|
"blur, waybar" # Add blur to waybar
|
|
|
|
|
"blurpopups, waybar" # Blur waybar popups too!
|
|
|
|
|
"ignorealpha 0.2, waybar" # Make it so transparent parts are ignored
|
|
|
|
|
];
|
|
|
|
|
|
2025-11-07 23:06:50 -05:00
|
|
|
exec-once = [
|
2025-11-27 15:23:59 -05:00
|
|
|
"systemctl --user enable --now hypridle.service"
|
2025-11-07 23:06:50 -05:00
|
|
|
"systemctl --user enable --now hyprpolkitagent.service"
|
2025-11-27 15:23:59 -05:00
|
|
|
"systemctl --user enable app-com.mitchellh.ghostty.service"
|
2025-11-07 23:06:50 -05:00
|
|
|
"wpaperd -d"
|
2025-12-15 23:48:13 -05:00
|
|
|
"swaync"
|
2025-12-07 23:53:43 -05:00
|
|
|
"pypr"
|
2025-11-07 23:06:50 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
env = [
|
|
|
|
|
"NIXOS_OZONE_WL, 1"
|
2025-11-12 14:23:51 -05:00
|
|
|
"HYPRSHOT_DIR, ${config.xdg.userDirs.extraConfig.XDG_SCREENSHOTS_DIR}"
|
2025-11-27 15:23:59 -05:00
|
|
|
"XDG_CURRENT_DESKTOP, Hyprland"
|
|
|
|
|
"XDG_SESSION_TYPE, wayland"
|
|
|
|
|
"XDG_SESSION_DESKTOP, Hyprland"
|
2025-11-07 23:06:50 -05:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|