summaryrefslogtreecommitdiff
path: root/home-manager/modules/apps
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/modules/apps')
-rw-r--r--home-manager/modules/apps/desktop/hyprland.nix5
1 files changed, 4 insertions, 1 deletions
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