diff options
Diffstat (limited to 'home/wm/wofi')
-rw-r--r-- | home/wm/wofi/config | 4 | ||||
-rw-r--r-- | home/wm/wofi/default.nix | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/home/wm/wofi/config b/home/wm/wofi/config new file mode 100644 index 0000000..95dedba --- /dev/null +++ b/home/wm/wofi/config @@ -0,0 +1,4 @@ +allow_images=true +image_size=20px +drun-display_generic=true +dynamic_lines=true diff --git a/home/wm/wofi/default.nix b/home/wm/wofi/default.nix new file mode 100644 index 0000000..ad3c759 --- /dev/null +++ b/home/wm/wofi/default.nix @@ -0,0 +1,8 @@ +{ config, lib, pkgs, ... }: +let isEnabled = config.my.home.wm.windowManager == "sway"; +in { + config = lib.mkIf isEnabled { + home.packages = with pkgs; [ wofi ]; + xdg.configFile."wofi/config".source = ./config; + }; +} |