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

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ # # By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# # # Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
# Updated: 2025/02/12 16:41:58 by tomoron ### ########.fr # # Updated: 2025/02/12 16:49:55 by tomoron ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #

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 {
'';
};
}

View File

@ -165,7 +165,7 @@
]; ];
exec-once = [ exec-once = [
"swaybg -i ~/.config/nitrogen/wallpaper.png&" "swaybg -i ~/.config/wallpaper.png&"
"(sleep 2;activate-linux)&" "(sleep 2;activate-linux)&"
"waybar&" "waybar&"
"alacritty&" "alacritty&"

View File

@ -11,7 +11,7 @@
background = { background = {
monitor = ""; monitor = "";
path = "~/.config/nitrogen/wallpaper.png"; path = "~/.config/wallpaper.png";
blur_passes = 1; blur_passes = 1;
}; };