From a86f6dd7d22024da39a904d217860c0edb277ca4 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 28 Apr 2025 08:54:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20xdg=20=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/home/hyprland/env.nix | 1 - modules/home/xdg.nix | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home/hyprland/env.nix b/modules/home/hyprland/env.nix index 9c436b3..e52ff88 100644 --- a/modules/home/hyprland/env.nix +++ b/modules/home/hyprland/env.nix @@ -29,7 +29,6 @@ XDG_SESSION_DESKTOP = "Hyprland"; XDG_SESSION_TYPE = "wayland"; XDG_BIN_HOME = "\${HOME}/.local/bin"; - XDG_PICTURES_DIR = "\${HOME}/tmp"; }; sessionPath = [ "$HOME/.npm-global/bin" diff --git a/modules/home/xdg.nix b/modules/home/xdg.nix index 6746f59..3a56381 100644 --- a/modules/home/xdg.nix +++ b/modules/home/xdg.nix @@ -67,7 +67,7 @@ }; userDirs = { - enable = false; + enable = true; createDirectories = false; documents = config.home.homeDirectory + "/doc"; music = config.home.homeDirectory + "/doc/music"; @@ -76,6 +76,7 @@ videos = config.home.homeDirectory + "/tmp"; pictures = config.home.homeDirectory + "/tmp"; templates = config.home.homeDirectory + "/tmp"; + publicShare = config.home.homeDirectory + "/tmp"; extraConfig = { XDG_SCREENSHOTS_DIR = config.home.homeDirectory + "/tmp/Screenshots"; };