2024-10-30 23:43:37 -04:00
|
|
|
{...}: {
|
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
settings = {
|
2024-11-18 11:32:02 -05:00
|
|
|
general = {
|
|
|
|
gaps_in = 5;
|
|
|
|
gaps_out = 5;
|
|
|
|
border_size = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
decoration = {
|
|
|
|
rounding = 12;
|
|
|
|
|
|
|
|
blur = {
|
|
|
|
enabled = true;
|
|
|
|
size = 3;
|
|
|
|
passes = 1;
|
|
|
|
};
|
|
|
|
|
|
|
|
shadow.enabled = false;
|
|
|
|
};
|
|
|
|
|
2024-10-30 23:43:37 -04:00
|
|
|
animations = {
|
2024-11-18 11:32:02 -05:00
|
|
|
enabled = true;
|
|
|
|
|
2024-10-30 23:43:37 -04:00
|
|
|
bezier = [
|
2024-11-18 11:32:02 -05:00
|
|
|
"easeInQuart , 0.895, 0.03, 0.685, 0.22"
|
|
|
|
"easeOutQuart , 0.165, 0.84, 0.44 , 1"
|
2024-10-30 23:43:37 -04:00
|
|
|
"easeInOutQuart, 0.77, 0 , 0.175, 1"
|
2024-11-18 11:32:02 -05:00
|
|
|
|
|
|
|
# Fade out
|
2024-10-30 23:43:37 -04:00
|
|
|
"easeInExpo , 0.95, 0.05, 0.795, 0.035"
|
|
|
|
];
|
|
|
|
|
|
|
|
animation = [
|
2024-11-18 11:32:02 -05:00
|
|
|
"workspaces, 1, 6, easeOutQuart, slide"
|
|
|
|
|
|
|
|
"windows, 1, 4, easeOutQuart, slide"
|
|
|
|
"fadeIn , 0"
|
|
|
|
"fadeOut, 1, 3000, easeInExpo"
|
|
|
|
|
2024-10-30 23:43:37 -04:00
|
|
|
"fadeLayersIn , 0"
|
|
|
|
"fadeLayersOut, 1, 3000, easeInExpo"
|
|
|
|
"layers , 1, 4 , easeInOutQuart, slide left"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
layerrule = [
|
2024-11-20 00:54:02 -05:00
|
|
|
"animation popin, ^(hyprpaper.*)"
|
|
|
|
"animation fade, ^(bg-layer.*)"
|
2024-10-30 23:43:37 -04:00
|
|
|
|
|
|
|
# Lockscreen blur
|
|
|
|
"blur, ^(blur-bg.*)"
|
|
|
|
"ignorealpha 0.19, ^(blur-bg.*)"
|
|
|
|
];
|
|
|
|
|
2024-11-07 10:39:28 -05:00
|
|
|
exec-once = [
|
|
|
|
"ags"
|
|
|
|
"sleep 3; ags request 'open win-applauncher'"
|
|
|
|
];
|
2024-10-30 23:43:37 -04:00
|
|
|
|
|
|
|
bind = [
|
2024-11-06 23:02:18 -05:00
|
|
|
"$mainMod SHIFT, E , exec, ags toggle win-powermenu"
|
|
|
|
"$mainMod , D , exec, ags toggle win-applauncher"
|
|
|
|
"$mainMod , V , exec, ags toggle win-clipboard"
|
|
|
|
" , Print, exec, ags toggle win-screenshot"
|
2024-10-30 23:43:37 -04:00
|
|
|
];
|
|
|
|
binde = [
|
|
|
|
## Brightness control
|
2024-11-07 10:39:28 -05:00
|
|
|
", XF86MonBrightnessUp , exec, ags request 'Brightness.screen +0.05'"
|
|
|
|
", XF86MonBrightnessDown, exec, ags request 'Brightness.screen -0.05'"
|
2024-10-30 23:43:37 -04:00
|
|
|
|
|
|
|
## Volume control
|
2024-11-07 10:39:28 -05:00
|
|
|
", XF86AudioRaiseVolume , exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ & ags request 'popup speaker' &"
|
|
|
|
", XF86AudioLowerVolume , exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- & ags request 'popup speaker' &"
|
2024-10-30 23:43:37 -04:00
|
|
|
];
|
2024-11-07 10:39:28 -05:00
|
|
|
bindn = [" , Escape , exec, ags request closeAll"];
|
|
|
|
bindr = ["CAPS, Caps_Lock, exec, ags request fetchCapsState"];
|
2024-10-30 23:43:37 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|