diff --git a/base/common_hardware.nix b/base/common_hardware.nix index 7d7282c..58e630d 100644 --- a/base/common_hardware.nix +++ b/base/common_hardware.nix @@ -1,10 +1,9 @@ -{ - pkgs, - config, - lib, - hostName, - modulesPath, - ... +{ pkgs +, config +, lib +, hostName +, modulesPath +, ... }: let username = config.conf.username; @@ -99,6 +98,7 @@ in environment.variables = { XDG_CACHE_HOME = "$HOME/.cache"; DIRENV_LOG_FORMAT = ""; + QT_QPA_PLATFORMTHEME = "qt5ct"; }; # allows user change later on diff --git a/modules/programs/greetd.nix b/modules/programs/greetd.nix index 24f328b..b31e4cb 100644 --- a/modules/programs/greetd.nix +++ b/modules/programs/greetd.nix @@ -1,10 +1,9 @@ -{ - config, - lib, - inputs, - pkgs, - options, - ... +{ config +, lib +, inputs +, pkgs +, options +, ... }: { options.mods = { @@ -118,6 +117,7 @@ env=XCURSOR_THEME,${config.mods.stylix.cursor.name} env=XCURSOR_SIZE,${toString config.mods.stylix.cursor.size} + env=QT_QPA_PLATFORMTHEME,qt5ct exec-once=regreet --style /home/${username}/.config/gtk-3.0/gtk.css; hyprctl dispatch exit '';