new wallpaperthingie
This commit is contained in:
@@ -7,17 +7,6 @@ let
|
||||
script_path = "${flakeRoot}/assets/hyprland/scripts/copy_wallpaperstuff.sh";
|
||||
wallpaper_conf = "${flakeRoot}/assets/hyprland/wallpaperstuff/wallpaper.conf";
|
||||
|
||||
# Debug: Print paths to verify they're correct
|
||||
tracePaths = builtins.trace (
|
||||
lib.concatStringsSep "\n" [
|
||||
"=== Wallpaper Module Debug ==="
|
||||
"Source path: ${source_path}"
|
||||
"Destination path: ${destination_path}"
|
||||
"Script path: ${script_path}"
|
||||
"Wallpaper config: ${wallpaper_conf}"
|
||||
"=== End of Debug ==="
|
||||
]
|
||||
);
|
||||
in
|
||||
{
|
||||
options = {
|
||||
@@ -25,15 +14,8 @@ in
|
||||
};
|
||||
|
||||
config = lib.mkIf config.wallpaper.enable {
|
||||
# Debug: Print activation message
|
||||
_ = builtins.trace "=== Wallpaper module is enabled ===";
|
||||
|
||||
# Ensure the script is executable
|
||||
home-manager.users.${config.home.username}.home.file."${script_path}".executable = true;
|
||||
|
||||
# Debug: Print script path
|
||||
_ = builtins.trace "Script path: ${script_path}";
|
||||
|
||||
/*
|
||||
# Run the script on activation
|
||||
home-manager.users.${config.home.username}.home.activation.copy-wallpapers = lib.mkMerge [
|
||||
{
|
||||
@@ -50,7 +32,7 @@ in
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
*/
|
||||
# Install wpaperd
|
||||
home-manager.users.${config.home.username}.home.packages = [ pkgs.wpaperd ];
|
||||
|
||||
@@ -61,7 +43,6 @@ in
|
||||
home-manager.users.${config.home.homeDirectory}/.config/wpaperd/config.toml = {
|
||||
text = builtins.readFile "${wallpaper_conf}";
|
||||
};
|
||||
|
||||
# Debug: Print config file path
|
||||
_ = builtins.trace "Config file path: ${config.home.homeDirectory}/.config/wpaperd/config.toml";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user