fix(hyprpaper): was not auto starting
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
# TODO: rewrite
|
# TODO: rewrite
|
||||||
wallpaperDir = "${config.home.homeDirectory}/.config/nixos/assets/Wallpapers";
|
wallpaperDir = "${config.home.homeDirectory}/.config/nixos/assets/Wallpapers";
|
||||||
defaultWallpaper = "${wallpaperDir}/${myConfig.hyprland.wallpaper}";
|
defaultWallpaper = "${wallpaperDir}/${myConfig.hyprland.wallpaper}";
|
||||||
cacheWallpaper = "${config.home.homeDirectory}/.cache/current_wallpaper";
|
cacheWallpaper = "${config.home.homeDirectory}/.local/state/current_wallpaper";
|
||||||
|
|
||||||
switch-wallpaper = pkgs.writeShellScriptBin "hakase-wallpaper-switch" ''
|
switch-wallpaper = pkgs.writeShellScriptBin "hakase-wallpaper-switch" ''
|
||||||
if [[ "$1" != "run" ]]; then
|
if [[ "$1" != "run" ]]; then
|
||||||
@@ -69,7 +69,8 @@
|
|||||||
in {
|
in {
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"uwsm app -- hyprpaper"
|
# "uwsm app -- hyprpaper"
|
||||||
|
"uwsm app -- matugen image ${cacheWallpaper} --source-color-index 0"
|
||||||
];
|
];
|
||||||
|
|
||||||
bindd = [
|
bindd = [
|
||||||
|
|||||||
Reference in New Issue
Block a user