From 8f8708ad288deae3353531298c2e5b2308def58d Mon Sep 17 00:00:00 2001 From: pagedmov Date: Tue, 29 Oct 2024 23:22:18 -0400 Subject: [PATCH] added some XDG variables to the hyprland config --- modules/home/environment/hyprland/config.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/modules/home/environment/hyprland/config.nix b/modules/home/environment/hyprland/config.nix index fdcd291..7731dcb 100644 --- a/modules/home/environment/hyprland/config.nix +++ b/modules/home/environment/hyprland/config.nix @@ -49,8 +49,19 @@ in "4,persistent=true,monitor:eDP-1" ]; - layerrule = ["blur,waybar" "ignorezero,waybar" "blur,launcher"]; - windowrule = ["opacity 0.8,nemo"]; + env = [ + "XDG_CONFIG_HOME,$HOME/.config" + "XDG_DATA_HOME,$HOME/.local/share" + "XDG_CACHE_HOME,$HOME/.cache" + ]; + layerrule = [ + "blur,waybar" + "ignorezero,waybar" + "blur,launcher" + ]; + windowrule = [ + "opacity 0.8,nemo" + ]; input = { kb_layout = "us";