diff options
author | Freya Murphy <freya@freyacat.org> | 2025-06-27 16:39:14 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-06-27 16:39:14 -0400 |
commit | 2e4c4298cf84f94d68387e8076fd430e9968ce6c (patch) | |
tree | 2a43fa6d4659fe2585c75aeec3ee4d5e0a42de2e /modules/desktops/hyprland/plugins.nix | |
parent | fmt (diff) | |
download | dotfiles-nix-2e4c4298cf84f94d68387e8076fd430e9968ce6c.tar.gz dotfiles-nix-2e4c4298cf84f94d68387e8076fd430e9968ce6c.tar.bz2 dotfiles-nix-2e4c4298cf84f94d68387e8076fd430e9968ce6c.zip |
refactor
Diffstat (limited to 'modules/desktops/hyprland/plugins.nix')
-rw-r--r-- | modules/desktops/hyprland/plugins.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/modules/desktops/hyprland/plugins.nix b/modules/desktops/hyprland/plugins.nix new file mode 100644 index 0000000..b218e74 --- /dev/null +++ b/modules/desktops/hyprland/plugins.nix @@ -0,0 +1,45 @@ +{ + inputs, + config, + system, + ... +}: let + hyprland-plugins = inputs.hyprland-plugins.packages.${system}; + hy3 = inputs.hy3.packages.${system}; +in { + home-manager.users.${config.user} = { + wayland.windowManager.hyprland = { + plugins = [ + hyprland-plugins.hyprexpo + hy3.hy3 + ]; + + settings.plugin = { + # hy3 + hy3 = { + tabs = { + height = 24; + text_height = 9; + text_padding = 10; + padding = 2; + render_text = true; + text_font = "monospace"; + radius = config.theme.outerRadius; + border_width = config.theme.borderWidth; + + "col.active" = "rgb(${config.theme.colors.base})"; + "col.active.border" = "rgb(${config.theme.colors.primary})"; + "col.active.text" = "rgb(${config.theme.colors.text})"; + "col.inactive" = "rgb(${config.theme.colors.base})"; + "col.inactive.border" = "rgb(${config.theme.colors.surface})"; + "col.inactive.text" = "rgb(${config.theme.colors.text})"; + }; + + autotile = { + enable = true; + }; + }; + }; + }; + }; +} |