From 0e6f0446c0c70c0aa7d8d8d641f9b0b0cf6a260e Mon Sep 17 00:00:00 2001 From: EdenQwQ Date: Mon, 30 Jun 2025 23:43:01 +0800 Subject: [PATCH] fix --- home/programs/desktop/niri/autostart.nix | 4 +++- pkgs/default.nix | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/home/programs/desktop/niri/autostart.nix b/home/programs/desktop/niri/autostart.nix index 939bc59..e8f5f42 100644 --- a/home/programs/desktop/niri/autostart.nix +++ b/home/programs/desktop/niri/autostart.nix @@ -27,6 +27,8 @@ let swww kill swww-daemon --namespace "background" & swww-daemon --namespace "backdrop" & + swww restore --namespace "background" + swww restore --namespace "backdrop" clash-meta -d ~/.config/clash & wlsunset -s 00:00 -S 00:00 -t 5000 -T 5001 & ''; @@ -36,7 +38,7 @@ let import subprocess import json - wallpapers_path = "/home/eden/Pictures/Wallpapers/generated/" + wallpapers_path = "/home/${user}/Pictures/Wallpapers/generated/" events_of_interest = [ "Workspace changed", "Workspace focused", diff --git a/pkgs/default.nix b/pkgs/default.nix index 3055cfa..974339b 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -8,6 +8,5 @@ custom-colorschemes = pkgs.callPackage ./customColorSchemes { }; hellwm = pkgs.callPackage ./hellwm.nix { }; wallpapers = pkgs.callPackage ./wallpapers.nix { }; - wechat = pkgs.callPackage ./wechat.nix { }; maple-mono-variable = pkgs.callPackage ./maple-mono-variable.nix { }; }