change wallpaper location on wayland/hyprland, sync script broken
This commit is contained in:
@ -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 #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
|
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 = [
|
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&"
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
background = {
|
background = {
|
||||||
monitor = "";
|
monitor = "";
|
||||||
path = "~/.config/nitrogen/wallpaper.png";
|
path = "~/.config/wallpaper.png";
|
||||||
blur_passes = 1;
|
blur_passes = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user