aboutsummaryrefslogtreecommitdiff
path: root/modules/user/desktop/components/fuzzel.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/desktop/components/fuzzel.nix')
-rw-r--r--modules/user/desktop/components/fuzzel.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/user/desktop/components/fuzzel.nix b/modules/user/desktop/components/fuzzel.nix
new file mode 100644
index 0000000..67bf047
--- /dev/null
+++ b/modules/user/desktop/components/fuzzel.nix
@@ -0,0 +1,34 @@
+{ config, ... }:
+{
+ programs.fuzzel.settings = {
+ border = {
+ radius = 0;
+ width = 2;
+ };
+
+ colors =
+ let
+ accent = if config.desktop.accent == "blue" then "89b4faff" else "f5c2e7ff";
+ in
+ {
+ background = "1e1e2eff";
+ border = accent;
+ input = "cdd6f4ff";
+ match = accent;
+ placeholder = "7f849cff";
+ prompt = "bac2deff";
+ selection = "585b70ff";
+ selection-match = accent;
+ selection-text = "cdd6f4ff";
+ text = "cdd6f4ff";
+ };
+
+ main = {
+ dpi-aware = true;
+ font = "Fira Code:size=6";
+ tabs = 4;
+ terminal = "foot -a '{cmd}' -T '{cmd}' {cmd}";
+ use-bold = true;
+ };
+ };
+}