diff options
| author | Alexander Kassouni <alex@kassouni.net> | 2026-09-02 21:20:10 -0700 |
|---|---|---|
| committer | Alexander Kassouni <alex@kassouni.net> | 2026-09-02 21:20:10 -0700 |
| commit | 47dde98fd2cf11ea544bb1c8d8d548ee0bda0f54 (patch) | |
| tree | fb79c45ef1c0f0016e480e06dff625cf3fc1c91a /users/kassouni/desktop/sway/fuzzel.nix | |
| parent | 1c5fa1c205f2bb78f8e1179b0576f3c3578dad69 (diff) | |
some sway stuff
Diffstat (limited to 'users/kassouni/desktop/sway/fuzzel.nix')
| -rw-r--r-- | users/kassouni/desktop/sway/fuzzel.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/users/kassouni/desktop/sway/fuzzel.nix b/users/kassouni/desktop/sway/fuzzel.nix new file mode 100644 index 0000000..d6d294b --- /dev/null +++ b/users/kassouni/desktop/sway/fuzzel.nix @@ -0,0 +1,37 @@ +{ + pkgs, + lib, + config, + ... +}: +let + inherit (config.colorScheme) ui editor common; + + # fuzzel wants RRGGBBAA with no leading '#'. + rgba = c: lib.toLower (lib.removePrefix "#" c) + "ff"; +in +{ + programs.fuzzel = { + enable = true; + settings = { + main = { + font = lib.mkForce "${config.theme.font.family}:size=${toString config.theme.font.size}"; + }; + + colors = { + background = rgba ui.bg; + text = rgba editor.fg; + match = rgba common.accent.tint; + selection = rgba ui.panel.bg; + selection-text = rgba editor.fg; + selection-match = rgba common.accent.tint; + border = rgba ui.line; + }; + + border = { + radius = 0; + }; + }; + }; + +} |
