diff --git a/home-manager.nix b/home-manager.nix index f3bb534..5b7a0ff 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -44,6 +44,8 @@ home.sessionVariables = { EDITOR = "nvim"; NIXOS_OZONE_WL = "1"; + QT_QPA_PLATFORM = "wayland"; + XCURSOR_SIZE = 36; }; ## diff --git a/programs/hyprland/default.nix b/programs/hyprland/default.nix index 3cd889c..6bd1fcb 100644 --- a/programs/hyprland/default.nix +++ b/programs/hyprland/default.nix @@ -83,20 +83,15 @@ # See https://wiki.hyprland.org/Configuring/Keywords/ for more + # Inject home-manager session variables + exec-once = /etc/profiles/per-user/wizardlink/etc/profile.d/hm-session-vars.sh + # Execute your favorite apps at launch exec-once = ~/.local/share/scripts/hyprland/start_services.sh # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf - # Some default env vars. - env = XCURSOR_SIZE,36 - env = QT_QPA_PLATFORM,wayland - env = QT_IM_MODULE,fcitx - env = GTK_IM_MODULE,fcitx - env = SDL_IM_MODULE,fcitx - env = XMODIFIERS,@im=fcitx - # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us,br,jp