Tune hyprland animations and cursor

This commit is contained in:
Julian Mutter 2025-04-25 08:36:15 +02:00
parent 64958b068f
commit 659d235fc7
3 changed files with 27 additions and 5 deletions

View File

@ -24,5 +24,11 @@ in
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
cursorTheme = {
package = pkgs.apple-cursor;
name = "macOS-BigSur";
size = 24;
};
};
}

View File

@ -165,7 +165,7 @@ in
# power saving
blur.enabled = false;
# power saving
# drop_shadow = false;
shadow.enabled = false;
};
# Dwindle layout
@ -182,6 +182,22 @@ in
mfact = 0.5; # Do not make master bigger
};
animations = {
enabled = true;
animation = [
"windows,1,3,default,slide"
"fade,1,3,default"
"layers,1,3,default,slide"
"border,1,3,default"
"workspaces,1,3,default,slide"
];
};
exec = [
"hyprctl setcursor ${config.gtk.cursorTheme.name} ${toString config.gtk.cursorTheme.size}"
];
misc = {
# disable auto polling for config file changes
disable_autoreload = true;
@ -336,7 +352,7 @@ in
swaylock = lib.getExe config.programs.swaylock.package;
in
lib.optionals config.programs.swaylock.enable [
"$mod,TAB,exec,${swaylock} -S --grace 2 --grace-no-mouse"
"$mod,TAB,exec,${swaylock} --ignore-empty-password --color=000000 --daemonize"
]
)
++

View File

@ -34,9 +34,9 @@ in
iconTheme = julianCfg.gtk.iconTheme;
theme = julianCfg.gtk.theme;
# font = julianCfg.fontProfiles.regular; # TODO: do
# cursorTheme = {
# inherit (julianCfg.gtk.cursorTheme) name package;
# }; # TODO: fix
cursorTheme = {
inherit (julianCfg.gtk.cursorTheme) name package;
};
# settings.background = {
# path = julianCfg.wallpaper;
# fit = "Cover";