diff --git a/home/hyprland/config.nix b/home/hyprland/config.nix index 8105641c..0f6690e5 100644 --- a/home/hyprland/config.nix +++ b/home/hyprland/config.nix @@ -18,7 +18,7 @@ in '' env = QT_QPA_PLATFORM,wayland env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = MOZ_ENABLE_WAYLAND,1 - env = GRIM_DEFAULT_DIR=${config.xdg.userDirs.pictures}/Screenshots + env = GRIM_DEFAULT_DIR=${config.xdg.userDirs.pictures}/Grim exec-once = hyprctl setcursor ${cursorName} ${cursorSize} exec-once = dbus-update-activation-environment --systemd --all diff --git a/system/hyprland.nix b/system/hyprland.nix index 680d2de6..c6b83077 100644 --- a/system/hyprland.nix +++ b/system/hyprland.nix @@ -5,7 +5,13 @@ nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland"; environment = { - sessionVariables.NIXOS_OZONE_WL = "1"; + sessionVariables = { + NIXOS_OZONE_WL = "1"; + XDG_CURRENT_DESKTOP = "Hyprland"; + XDG_SESSION_TYPE = "wayland"; + XDG_SESSION_DESKTOP = "Hyprland"; + GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim"; + }; systemPackages = with pkgs; [ libsForQt5.polkit-kde-agent xdg-utils