473 current 2025-07-09 20:14:48 25.05.20250424.f771eb4 6.12.24 *

This commit is contained in:
2025-07-09 20:15:14 -04:00
parent e474856a82
commit fed1ae8d8e
4 changed files with 28 additions and 3 deletions

View File

@@ -29,6 +29,16 @@
format-foreground = ${colors.theme}
'';
tailscaleScript = pkgs.callPackage ./scripts/tailscale.nix {};
tctl = ''
[module/tailscale]
type = custom/script
interval = 15
exec = ${tailscaleScript}/bin/bluetooth-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";
@@ -99,7 +109,7 @@ in {
enable = true;
package = mypolybar;
config = ./config.ini;
extraConfig = bctl + internets + mon;
extraConfig = bctl + internets + mon + tctl;
# my savior: https://www.reddit.com/r/NixOS/comments/v8ikwq/polybar_doesnt_start_at_launch/
script = ''
# echo "none"