diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/user/desktop/components/default.nix | 2 | ||||
| -rw-r--r-- | modules/user/desktop/components/fuzzel.nix | 34 | ||||
| -rw-r--r-- | modules/user/desktop/window-managers/sway.nix | 2 |
3 files changed, 36 insertions, 2 deletions
diff --git a/modules/user/desktop/components/default.nix b/modules/user/desktop/components/default.nix index 6457798..8d96216 100644 --- a/modules/user/desktop/components/default.nix +++ b/modules/user/desktop/components/default.nix @@ -1,6 +1,6 @@ { imports = [ + ./fuzzel.nix ./waybar - #./wofi ]; } 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; + }; + }; +} diff --git a/modules/user/desktop/window-managers/sway.nix b/modules/user/desktop/window-managers/sway.nix index 14e81cb..14ae618 100644 --- a/modules/user/desktop/window-managers/sway.nix +++ b/modules/user/desktop/window-managers/sway.nix @@ -15,6 +15,7 @@ ]; programs = { + fuzzel.enable = lib.mkDefault (config.desktop.windowManager == "sway"); swaylock = { enable = lib.mkDefault (config.desktop.windowManager == "sway"); settings = { @@ -22,7 +23,6 @@ no-unlock-indicator = true; }; }; - }; wayland.windowManager.sway = |
