mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: wallpaper fix
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
services.darkman = {
|
||||
services.darkman = let
|
||||
wallpaperPath = "${config.home.homeDirectory}/.local/state/wallpaper.jpg";
|
||||
in {
|
||||
enable = true;
|
||||
package = pkgs.buildGoModule rec {
|
||||
pname = "darkman";
|
||||
@@ -70,8 +72,13 @@
|
||||
''
|
||||
${pkgs.kitty}/bin/kitty +kitten themes --reload-in=all --config-file-name ${config.home.homeDirectory}/.config/kitty/current-colors.conf Catppuccin-Frappe
|
||||
'';
|
||||
wallpaper = ''
|
||||
${pkgs.swww}/bin/swww img ${./wallpapers/Lakeside-2/Lakeside-2-1.jpg}
|
||||
wallpaper =
|
||||
/*
|
||||
bash
|
||||
*/
|
||||
''
|
||||
${pkgs.coreutils}/bin/ln -sf ${./wallpapers/Lakeside-2/Lakeside-2-1.jpg} ${wallpaperPath}
|
||||
${pkgs.swww}/bin/swww img ${wallpaperPath}
|
||||
'';
|
||||
};
|
||||
lightModeScripts = {
|
||||
@@ -90,8 +97,13 @@
|
||||
''
|
||||
${pkgs.kitty}/bin/kitty +kitten themes --reload-in=all --config-file-name ${config.home.homeDirectory}/.config/kitty/current-colors.conf Catppuccin-Latte
|
||||
'';
|
||||
wallpaper = ''
|
||||
${pkgs.swww}/bin/swww img ${./wallpapers/Lakeside-2/Lakeside-2-10.jpg}
|
||||
wallpaper =
|
||||
/*
|
||||
bash
|
||||
*/
|
||||
''
|
||||
${pkgs.coreutils}/bin/ln -sf ${./wallpapers/Lakeside-2/Lakeside-2-10.jpg} ${wallpaperPath}
|
||||
${pkgs.swww}/bin/swww img ${wallpaperPath}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
];
|
||||
exec-once = [
|
||||
"swww init"
|
||||
"swww img ~/.local/state/wallpaper.jpg"
|
||||
"ags"
|
||||
"systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY"
|
||||
"dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY"
|
||||
|
||||
Reference in New Issue
Block a user