diff --git a/modules/home/hypr/hyprland.nix b/modules/home/hypr/hyprland.nix index 436869e..f482427 100644 --- a/modules/home/hypr/hyprland.nix +++ b/modules/home/hypr/hyprland.nix @@ -23,6 +23,36 @@ "${config.xdg.configHome}/hypr/monitors.conf" ]; + 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" + ]; + }; + general = { gaps_in = 5; gaps_out = 10; @@ -43,7 +73,14 @@ size = 8; passes = 3; new_optimizations = true; + popups = true; }; + + shadow.enabled = false; + }; + + misc = { + vfr = true; }; layerrule = [ diff --git a/modules/home/hypr/keybinds.nix b/modules/home/hypr/keybinds.nix index b1b198c..c8abb50 100644 --- a/modules/home/hypr/keybinds.nix +++ b/modules/home/hypr/keybinds.nix @@ -29,10 +29,6 @@ "$mod CTRL SHIFT, left, movetoworkspace, r-1" "$mod CTRL SHIFT, right, movetoworkspace, r+1" - # Brightness keys - ", XF86MonBrightnessUp, exec, brightnessctl set 10%+" - ", XF86MonBrightnessDown, exec, brightnessctl set 10%-" - # Screenshoting ", PRINT, exec, hyprshot -m output --raw | satty --filename -" "$mod, PRINT, exec, hyprshot -m window --raw | satty --filename -" @@ -74,12 +70,16 @@ "$mod ALT, mouse:272, resizewindow" ]; - binde = [ + bindel = [ + # Volume Controls ", XF86AudioRaiseVolume, exec, pamixer -i 5" ", XF86AudioLowerVolume, exec, pamixer -d 5" "ALT, XF86AudioRaiseVolume, exec, pamixer --default-source -i 5" "ALT, XF86AudioLowerVolume, exec, pamixer --default-source -d 5" + # Brightness Controls + ", XF86MonBrightnessUp, exec, brightnessctl set 5%+" + ", XF86MonBrightnessDown, exec, brightnessctl set 5%-" ]; }; }