From 65e7e86739b584bf2e33d266c6cf4a36ec0f237c Mon Sep 17 00:00:00 2001 From: biscuit Date: Mon, 19 May 2025 18:42:40 -0500 Subject: [PATCH] (hypr) more configs added --- pkgs/hyprland/biscuit.nix | 54 +++++++++++++++++++++++++++++++++++++- pkgs/hyprland/custom/nixos | 1 + 2 files changed, 54 insertions(+), 1 deletion(-) create mode 160000 pkgs/hyprland/custom/nixos diff --git a/pkgs/hyprland/biscuit.nix b/pkgs/hyprland/biscuit.nix index 680135e..eaf56a4 100644 --- a/pkgs/hyprland/biscuit.nix +++ b/pkgs/hyprland/biscuit.nix @@ -1,3 +1,55 @@ {...}: { - wayland.windowManager.hyprland.enable = true; + wayland.windowManager.hyprland.enable = true; + wayland.windowManager.hyprland.settings = { + + "$mod" = "SUPER"; + "$term" = "kitty --single-instance"; + "$browser" = "firefox"; + "$bar" = "ags run"; + + bind = [ + "$mod, Return, exec, $terminal" + "$mod, Q, killactive" + "$mod, W, exec firefox" + ]; + + general = { + gaps_in = 2; + gaps_out = 5; + border_size = 2; + col.active_border = "rgba(33ccffee) rgba(00ff99ee) 45deg"; + col.inactive_border = "rgba(595959aa)"; + resize_on_border = false; + allow_tearing = false; + layout = "dwindle"; + }; + decoration = { + rounding = 0; + rounding_power = 2; + active_opacity = 1.0; + inactive_opacity = 1.0; + shadow = { + enabled = true; + range = 4; + render_power = 3; + color = "rgba(1a1a1aee)"; + }; + blur = { + enabled = true; + size = 3; + passes = 1; + vibrancy = 0.1696; + }; + }; + animations = { + enabled = true; + # Animation curves + bezier = [ + "linear, 0, 0, 1, 1" + ]; + animation = []; + }; + + + }; } diff --git a/pkgs/hyprland/custom/nixos b/pkgs/hyprland/custom/nixos new file mode 160000 index 0000000..59f4b37 --- /dev/null +++ b/pkgs/hyprland/custom/nixos @@ -0,0 +1 @@ +Subproject commit 59f4b37a2c2ae586afc00d877dd56d2c9e7d281f