{ pkgs, lib, config, ... }: let inherit (config.grimmShared) enable graphical sway; in { config = lib.mkIf (enable && graphical) { qt = { enable = true; style = "breeze"; platformTheme = "lxqt"; }; environment.systemPackages = with pkgs; with kdePackages; [ # qtstyleplugin-kvantum catppuccin-sddm-corners libsForQt5.qtgraphicaleffects # catppuccin-kvantum breeze kdePackages.audiocd-kio kdePackages.kio-extras kdePackages.kio xcb-util-cursor qt6ct kdePackages.dolphin qtwayland ]; # environment.pathsToLink = [ "/share/Kvantum" ]; services.displayManager = { sddm = { enable = true; theme = "catppuccin-sddm-corners"; wayland.enable = true; wayland.compositor = "weston"; }; defaultSession = lib.optionalString sway.enable "sway"; }; xdg.portal.lxqt.styles = with pkgs; [ kdePackages.breeze-qt5 ]; boot.plymouth = { themePackages = with pkgs; [ catppuccin-plymouth ]; theme = "catppuccin-macchiato"; enable = true; }; }; }