Update qt config

This commit is contained in:
jaina heartles 2024-07-25 00:43:01 -07:00
parent 903e24e757
commit 6e3147ad0a

View file

@ -181,10 +181,12 @@ in {
home.activation."switch-hyprpaper-wallpaper" =
lib.hm.dag.entryAfter [ "writeBoundary" ] ''
export PATH="$PATH:${config.wayland.windowManager.hyprland.package}/bin:${pkgs.jq}/bin"
hyprctl hyprpaper preload ${cfg.wallpaper} >/dev/null
hyprctl monitors -j | jq --raw-output '.[] | .name' | \
xargs -I{} hyprctl hyprpaper wallpaper '{},${cfg.wallpaper}' >/dev/null
hyprctl hyprpaper unload all >/dev/null
for inst in $(ls ''${XDG_RUNTIME_DIR:-/run/user/$UID}/hypr); do
$DRY_RUN_CMD hyprctl -i $inst hyprpaper preload ${cfg.wallpaper} || true
(hyprctl monitors -j -i $inst | jq --raw-output '.[] | .name' || true) | \
xargs -I{} $DRY_RUN_CMD hyprctl -i $inst hyprpaper wallpaper '{},${cfg.wallpaper}'
$DRY_RUN_CMD hyprctl -i $inst hyprpaper unload all || true
done
'';
xdg.configFile."eww/theme_cat.scss".text = concatStringsSep "\n"
(mapAttrsToList (name: value: "$cat-${name}: ${value};") cfg.catppuccin);
@ -198,7 +200,9 @@ in {
home.activation.reloadHyprland =
lib.hm.dag.entryAfter [ "writeBoundary" ] ''
export PATH="$PATH:${config.wayland.windowManager.hyprland.package}/bin"
hyprctl reload
ls ''${XDG_RUNTIME_DIR:-/run/user/$UID}/hypr || true | \
xargs -I{} $DRY_RUN_CMD hyprctl reload -i {}
'';
wayland.windowManager.hyprland.enable = true;
#wayland.windowManager.hyprland.settings = { };
@ -469,7 +473,7 @@ in {
qt = {
enable = true;
platformTheme = "gtk";
platformTheme.name = "gtk";
};
gtk.enable = true;