diff --git a/Droidnix/generated/hyprland/task_launcher/wofi.nix b/Droidnix/generated/hyprland/task_launcher/wofi.nix index 3f6c36d41..f8103bde9 100644 --- a/Droidnix/generated/hyprland/task_launcher/wofi.nix +++ b/Droidnix/generated/hyprland/task_launcher/wofi.nix @@ -1,4 +1,11 @@ -{ config, pkgs, lib, user, flakeRoot, ... }: +{ + config, + pkgs, + lib, + user, + flakeRoot, + ... +}: let xdgDataHome = config.home-manager.users.${user.username}.xdg.dataHome; in @@ -12,24 +19,9 @@ in home.packages = with pkgs; [ wofi ]; # Wofi configuration - xdg.configFile."wofi/config".text = '' - dark - width=500 - height=800 - lines=10 - columns=1 - cache_dir=${xdgDataHome}/wofi - allow_images=true - allow_markup=true - show_drun=true - ''; + xdg.configFile."wofi/config".source = "${flakeRoot}/assets/system/conf/wofi/wofi.conf"; - # Catppuccin Mocha theme for Wofi - xdg.configFile."wofi/style.css".text = builtins.readFile "${pkgs.fetchFromGitHub { - owner = "catppuccin"; - repo = "wofi"; - rev = "a0c34a8e9d3a1f71b1b2a8e3b5b8e3e8b1b3b8e3"; # Replace with the correct SHA256 hash - sha256 = "0000000000000000000000000000000000000000000000000000"; # Replace with the correct SHA256 hash - }}/style-mocha.css"; + # Custom Catppuccin Mocha theme for Wofi + xdg.configFile."wofi/style.css".source = "${flakeRoot}/assets/system/conf/wofi/theming.css"; }; }