From 9b4310a1c94b4f1bb21274ca04a010781345a754 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Fri, 2 May 2025 12:09:54 +0200 Subject: some hyprland stuff --- home-manager/modules/apps/desktop/hyprland.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'home-manager/modules/apps/desktop/hyprland.nix') diff --git a/home-manager/modules/apps/desktop/hyprland.nix b/home-manager/modules/apps/desktop/hyprland.nix index c2a794e..243f999 100644 --- a/home-manager/modules/apps/desktop/hyprland.nix +++ b/home-manager/modules/apps/desktop/hyprland.nix @@ -13,7 +13,9 @@ with lib; wl-clipboard ]; - # TODO: Place environment variables in ./config/uwsm + + # Environment variables for hyprland. + # This can be used to configure wayland/hyprland-specific things home.file.".config/uwsm/env-hyprland".text = '' export XDG_SESSION_TYPE=wayland export GDK_BACKEND=wayland @@ -24,6 +26,7 @@ with lib; export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 export QT_AUTO_SCREEN_SCALE_FACTOR=1 export MOZ_ENABLE_WAYLAND=1 + export -n GTK_IM_MODULE ''; # Hyprland -- cgit v1.3.1