hyprland: use environment variables from home-manager
This commit is contained in:
parent
a3dea1271a
commit
812692731c
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue