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,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
services.darkman = {
|
services.darkman = let
|
||||||
|
wallpaperPath = "${config.home.homeDirectory}/.local/state/wallpaper.jpg";
|
||||||
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.buildGoModule rec {
|
package = pkgs.buildGoModule rec {
|
||||||
pname = "darkman";
|
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
|
${pkgs.kitty}/bin/kitty +kitten themes --reload-in=all --config-file-name ${config.home.homeDirectory}/.config/kitty/current-colors.conf Catppuccin-Frappe
|
||||||
'';
|
'';
|
||||||
wallpaper = ''
|
wallpaper =
|
||||||
${pkgs.swww}/bin/swww img ${./wallpapers/Lakeside-2/Lakeside-2-1.jpg}
|
/*
|
||||||
|
bash
|
||||||
|
*/
|
||||||
|
''
|
||||||
|
${pkgs.coreutils}/bin/ln -sf ${./wallpapers/Lakeside-2/Lakeside-2-1.jpg} ${wallpaperPath}
|
||||||
|
${pkgs.swww}/bin/swww img ${wallpaperPath}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
lightModeScripts = {
|
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
|
${pkgs.kitty}/bin/kitty +kitten themes --reload-in=all --config-file-name ${config.home.homeDirectory}/.config/kitty/current-colors.conf Catppuccin-Latte
|
||||||
'';
|
'';
|
||||||
wallpaper = ''
|
wallpaper =
|
||||||
${pkgs.swww}/bin/swww img ${./wallpapers/Lakeside-2/Lakeside-2-10.jpg}
|
/*
|
||||||
|
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 = [
|
exec-once = [
|
||||||
"swww init"
|
"swww init"
|
||||||
|
"swww img ~/.local/state/wallpaper.jpg"
|
||||||
"ags"
|
"ags"
|
||||||
"systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY"
|
"systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY"
|
||||||
"dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY"
|
"dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY"
|
||||||
|
|||||||
Reference in New Issue
Block a user