From 6e0ef11f6826c03b0f81ac00896420e10e4938b1 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Wed, 11 Mar 2026 15:06:27 +0100 Subject: [PATCH] working on wofi --- .../generated/hyprland/task_launcher/wofi.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Droidnix/generated/hyprland/task_launcher/wofi.nix b/Droidnix/generated/hyprland/task_launcher/wofi.nix index 13464b46c..b9e9702b2 100644 --- a/Droidnix/generated/hyprland/task_launcher/wofi.nix +++ b/Droidnix/generated/hyprland/task_launcher/wofi.nix @@ -5,18 +5,22 @@ ... }: +let + # Read the files from the local directory + wofiConf = builtins.readFile (toString ./assets/hyprland/conf/wofi/wofi.conf); + wofiStyle = builtins.readFile (toString ./assets/hyprland/conf/wofi/theming.css); +in { - # Install Wofi - environment.systemPackages = with pkgs; [ wofi ]; + environment.systemPackages = with pkgs; [ + wofi + ]; - # Home Manager configuration for Wofi home-manager.users.henrov = { home.file = { - ".config/wofi/config".text = builtins.readFile ./assets/hyprland/conf/wofi/wofi.conf; - ".config/wofi/style.css".source = ./assets/hyprland/conf/wofi/theming.css; + ".config/wofi/config".text = wofiConf; + ".config/wofi/style.css".text = wofiStyle; }; - # Environment variables for Wofi home.sessionVariables = { WOFI_CONFIG = "$HOME/.config/wofi/config"; WOFI_STYLE = "$HOME/.config/wofi/style.css";