{ config, pkgs, lib, osConfig, ... }: let mypolybar = pkgs.polybar.override { alsaSupport = true; githubSupport = true; mpdSupport = true; pulseSupport = true; }; colors = { background = "#0d0d0d"; foreground = "#ffffff"; theme = "#89adfa"; }; bluetoothScript = pkgs.callPackage ./scripts/bluetooth.nix {}; bctl = '' [module/bluetooth] type = custom/script interval = 10 exec = ${bluetoothScript}/bin/bluetooth-ctl label-foreground = ${colors.foreground} format-foreground = ${colors.theme} ''; tailscaleScript = pkgs.callPackage ./scripts/tailscale.nix {}; tctl = '' [module/tailscale] type = custom/script interval = 15 exec = ${tailscaleScript}/bin/tailscale-ctl label-foreground = ${colors.foreground} format-foreground = ${colors.theme} ''; ip = "/run/current-system/sw/bin/ip"; grep = "/run/current-system/sw/bin/grep"; awk = "/run/current-system/sw/bin/awk"; pctl = '' [module/pomodoro] type = custom/script tail = true interval = 5 format =