{ colors, lib, pkgs, ... }: let qml = import ../../lib/qml.nix { inherit lib; }; theme = pkgs.writeText "Theme.qml" ( qml.singleton ( colors // { font = "Monaspace Neon"; radius = 5; pad = 12; barHeight = 45; iconSize = 15; cava = "${./quickshell/cava.cfg}"; agentUsage = lib.getExe (import ../../lib/agent-usage.nix { inherit pkgs; }); openDir = lib.getExe (import ../../lib/qs-open-dir.nix { inherit pkgs; }); systemdRun = lib.getExe' pkgs.systemd "systemd-run"; } ) ); shell = pkgs.runCommand "quickshell" { } '' mkdir -p $out cp -r ${./quickshell}/. $out/ cp ${theme} $out/Theme.qml ''; in { home.packages = [ pkgs.cava ]; qt.enable = true; programs.quickshell = { enable = true; systemd.enable = true; }; xdg.configFile.quickshell = { source = shell; force = true; }; }