hyprland: use environment variables from home-manager

This commit is contained in:
Alexandre Cavalheiro 2024-04-11 20:02:20 -03:00
parent a3dea1271a
commit 812692731c
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 5 additions and 8 deletions

View file

@ -44,6 +44,8 @@
home.sessionVariables = {
EDITOR = "nvim";
NIXOS_OZONE_WL = "1";
QT_QPA_PLATFORM = "wayland";
XCURSOR_SIZE = 36;
};
##

View file

@ -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