working on wofi
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user