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 = { home.sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
NIXOS_OZONE_WL = "1"; 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 # 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 # Execute your favorite apps at launch
exec-once = ~/.local/share/scripts/hyprland/start_services.sh exec-once = ~/.local/share/scripts/hyprland/start_services.sh
# Source a file (multi-file configs) # Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf # 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/ # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input { input {
kb_layout = us,br,jp kb_layout = us,br,jp