Add qt5ct to system and greetd

This commit is contained in:
DashieTM 2024-09-04 09:49:32 +02:00
parent 41001a9122
commit cbaa111fbd
2 changed files with 14 additions and 14 deletions

View file

@ -1,10 +1,9 @@
{ { pkgs
pkgs, , config
config, , lib
lib, , hostName
hostName, , modulesPath
modulesPath, , ...
...
}: }:
let let
username = config.conf.username; username = config.conf.username;
@ -99,6 +98,7 @@ in
environment.variables = { environment.variables = {
XDG_CACHE_HOME = "$HOME/.cache"; XDG_CACHE_HOME = "$HOME/.cache";
DIRENV_LOG_FORMAT = ""; DIRENV_LOG_FORMAT = "";
QT_QPA_PLATFORMTHEME = "qt5ct";
}; };
# allows user change later on # allows user change later on

View file

@ -1,10 +1,9 @@
{ { config
config, , lib
lib, , inputs
inputs, , pkgs
pkgs, , options
options, , ...
...
}: }:
{ {
options.mods = { options.mods = {
@ -118,6 +117,7 @@
env=XCURSOR_THEME,${config.mods.stylix.cursor.name} env=XCURSOR_THEME,${config.mods.stylix.cursor.name}
env=XCURSOR_SIZE,${toString config.mods.stylix.cursor.size} 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 exec-once=regreet --style /home/${username}/.config/gtk-3.0/gtk.css; hyprctl dispatch exit
''; '';