change wallpaper location on wayland/hyprland, sync script broken

This commit is contained in:
2025-02-12 17:36:55 +01:00
parent f7fd642cc7
commit 9ec800b97e
4 changed files with 18 additions and 3 deletions

View File

@ -0,0 +1,15 @@
{ lib, config, pkgs, ... }:
{
options.mods.sync.enable = lib.mkOption {
type = lib.types.bool;
default = true;
description = "enable desk_sync command";
};
home.file.".local/bin/desk_sync" = pkgs.writeShellScriptBin "desk_sync" ''
${pkgs.unison}/
config = lib.mkIf config.mods.sync.enable {
'';
};
}