change wallpaper location on wayland/hyprland, sync script broken
This commit is contained in:
15
homeConfigs/modules/sync.nix
Normal file
15
homeConfigs/modules/sync.nix
Normal 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 {
|
||||
'';
|
||||
};
|
||||
}
|
@ -165,7 +165,7 @@
|
||||
];
|
||||
|
||||
exec-once = [
|
||||
"swaybg -i ~/.config/nitrogen/wallpaper.png&"
|
||||
"swaybg -i ~/.config/wallpaper.png&"
|
||||
"(sleep 2;activate-linux)&"
|
||||
"waybar&"
|
||||
"alacritty&"
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
background = {
|
||||
monitor = "";
|
||||
path = "~/.config/nitrogen/wallpaper.png";
|
||||
path = "~/.config/wallpaper.png";
|
||||
blur_passes = 1;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user