working on wofi
This commit is contained in:
+9
-10
@@ -1015,24 +1015,22 @@ This is top file of this level which contains just an import statement for all r
|
||||
** =generated/hyprland/task_launcher/wofi.nix=
|
||||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||||
#+BEGIN_SRC nix :tangle generated/hyprland/task_launcher/wofi.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
flakeRoot,
|
||||
...
|
||||
}:
|
||||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
# Copy the files into the Nix store
|
||||
wofiConf = builtins.readFile (toFile "wofi.conf" (builtins.readFile ./assets/hyprland/conf/wofi/wofi.conf));
|
||||
wofiStyle = ./assets/hyprland/conf/wofi/theming.css;
|
||||
in
|
||||
{
|
||||
# Install Wofi
|
||||
environment.systemPackages = with pkgs; [ wofi ];
|
||||
|
||||
# Home Manager configuration for Wofi
|
||||
home-manager.users.henrov = {
|
||||
# Manage only the config and style files
|
||||
home.file = {
|
||||
".config/wofi/config".text = lib.readFile "${flakeRoot}/.assets/hyprland/conf/wofi/wofi.conf";
|
||||
".config/wofi/style.css".source = "${flakeRoot}/.assets/hyprland/conf/wofi/theming.css";
|
||||
".config/wofi/config".text = wofiConf;
|
||||
".config/wofi/style.css".source = wofiStyle;
|
||||
};
|
||||
|
||||
# Environment variables for Wofi
|
||||
@@ -1042,6 +1040,7 @@ This is top file of this level which contains just an import statement for all r
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
#+END_SRC
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user