From f0840a99ac803cf3d1257c7b334b252721e98746 Mon Sep 17 00:00:00 2001 From: Emmet Date: Wed, 29 May 2024 20:22:25 -0500 Subject: [PATCH] Added and reorganized hyprland env vars --- user/wm/hyprland/hyprland.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 8dc9768..bc347b4 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -35,6 +35,17 @@ in exec-once = dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY exec-once = hyprctl setcursor '' + config.gtk.cursorTheme.name + " " + builtins.toString config.gtk.cursorTheme.size + '' + env = XDG_CURRENT_DESKTOP,Hyprland + env = XDG_SESSION_TYPE,wayland + env = XDG_SESSION_DESKTOP,Hyprland + env = WLR_DRM_DEVICES,/dev/dri/card2:/dev/dri/card1 + env = GDK_BACKEND,wayland,x11,* + env = QT_QPA_PLATFORM,wayland;xcb + env = QT_QPA_PLATFORMTHEME,qt5ct + env = QT_AUTO_SCREEN_SCALE_FACTOR,1 + env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 + env = CLUTTER_BACKEND,wayland + exec-once = hyprprofile Default exec-once = pypr @@ -284,9 +295,6 @@ in force_zero_scaling = true } - env = WLR_DRM_DEVICES,/dev/dri/card2:/dev/dri/card1 - env = QT_QPA_PLATFORMTHEME,qt5ct - binds { movefocus_cycles_fullscreen = false }