summaryrefslogtreecommitdiff
path: root/home/apps/wofi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/apps/wofi/default.nix')
-rw-r--r--home/apps/wofi/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/home/apps/wofi/default.nix b/home/apps/wofi/default.nix
new file mode 100644
index 0000000..2de9f45
--- /dev/null
+++ b/home/apps/wofi/default.nix
@@ -0,0 +1,27 @@
+{
+ config,
+ lib,
+ ...
+}: let
+ inherit (lib) mkIf;
+ cfg = config.apps.wofi;
+in {
+ config = mkIf cfg.enable {
+ default.appLauncher = lib.mkDefault "wofi --show drun --prompt 'Seach Programs'";
+
+ programs.wofi = {
+ enable = true;
+
+ settings = {
+ key_expand = "Tab";
+ term = "kitty";
+ matching = "multi-contains";
+ insensitive = true;
+ gtk_dark = true;
+ hide_scroll = true;
+ };
+
+ style = import ./style.nix {theme = config.theme;};
+ };
+ };
+}