{ config, pkgs, lib, ... }: let cfg = config.theming.dock; in { options.theming.dock = { enable = lib.mkOption { default = false; type = lib.types.bool; }; autostart = lib.mkOption { default = false; type = lib.types.bool; }; }; config = { home.pointerCursor = { x11.enable = true; name = "Bibata-Modern-Classic"; package = pkgs.bibata-cursors; gtk.enable = true; size = 20; }; gtk = { enable = true; cursorTheme = { name = "Bibata-Modern-Classic"; package = pkgs.bibata-cursors; size = 20; }; iconTheme = { # TODO: since XFCE accepts "Tela dark" but Cinnamon # accepts only "Tela-dark", we have to modularize XFCE and # Cinnamon name = "Tela dark"; package = pkgs.tela-icon-theme; }; gtk3 = { extraConfig.gtk-application-prefer-dark-theme = true; }; gtk4 = { extraConfig.gtk-application-prefer-dark-theme = true; }; }; qt = { enable = true; platformTheme.name = "gtk"; style.name = "adwaita-dark"; }; xdg.autostart = lib.mkIf cfg.autostart { enable = true; entries = [ ]; }; }; }