{ config , lib , pkgs , inputs , ... }: with lib; let cfg = config.my.theming; in { imports = [ ./dracula.nix ./catppuccin-frappe.nix ./catppuccin-latte.nix ./catppuccin-macchiato.nix ./catppuccin-mocha.nix ]; options.my.theming = { enable = mkOption { default = false; type = types.bool; example = true; }; scheme = mkOption { default = "catppuccin-macchiato"; type = types.enum [ "dracula" "catppuccin-latte" "catppuccin-frappe" "catppuccin-macchiato" "catppuccin-mocha" ]; }; }; config = mkIf cfg.enable { home-manager.users.moritz = { services.polybar = { config = { "bar/bottom" = { # position monitor = "\${env:MONITOR}"; bottom = true; width = "100%"; heigth = 20; border-size = 5; separator = " "; font-0 = "FiraCode Nerd Font:size=9;0"; font-1 = "FiraCode Nerd Font:size=9;1"; font-2 = "FiraCode Nerd Font:size=9;2"; modules-left = "cpu memory network battery"; modules-center = "bspwm"; modules-right = "pulseaudio date time"; tray-position = "right"; tray-padding = 2; wm-restack = "bspwm"; cursor-click = "pointer"; cursor-scroll = "ns-resize"; }; "module/battery" = { type = "internal/battery"; battery = "BATT"; adapter = "ACAD"; time-format = "%H:%M"; format-charging = " "; format-discharging = " "; format-full = " "; label-charging = "%percentage%% %time% remaining"; label-discharging = "%percentage%% %time% remaining"; label-full = "Fully charged"; animation-charging-0 = " "; animation-charging-1 = " "; animation-charging-2 = " "; animation-charging-3 = " "; animation-charging-4 = " "; animation-charging-framerate = 500; animation-discharging-0 = " "; animation-discharging-1 = " "; animation-discharging-2 = " "; animation-discharging-3 = " "; animation-discharging-4 = " "; animation-discharging-framerate = 500; }; "module/bspwm" = { type = "internal/bspwm"; label-focused = ""; label-focused-padding = 1; label-occupied = ""; label-occupied-padding = 1; label-urgent = ""; label-urgent-padding = 1; label-empty = ""; label-empty-padding = 1; label-separator = " "; label-separator-padding = 1; pin-workspaces = true; }; "module/cpu" = { type = "internal/cpu"; interval = 2; format = "