From 62fb1744d07ded15301aee4506fd313cbca4de90 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Wed, 18 Feb 2026 16:47:51 -0800 Subject: [PATCH] Add bluetooth, improve waybar audio/network modules - Enable bluetooth with blueman for speaker pairing - Pulseaudio: headphone icon, mute indicator - Network: show bandwidth up/down instead of interface name - Bluetooth waybar module with catppuccin styling Co-Authored-By: Claude Opus 4.6 --- nixos/ringtail/configuration.nix | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/nixos/ringtail/configuration.nix b/nixos/ringtail/configuration.nix index a5bbdfb..18fd789 100644 --- a/nixos/ringtail/configuration.nix +++ b/nixos/ringtail/configuration.nix @@ -73,6 +73,13 @@ in pulse.enable = true; }; + # Bluetooth + hardware.bluetooth = { + enable = true; + powerOnBoot = true; + }; + services.blueman.enable = true; + # Fish shell programs.fish.enable = true; @@ -237,17 +244,22 @@ in height = 30; modules-left = [ "sway/workspaces" "sway/mode" ]; modules-center = [ "sway/window" ]; - modules-right = [ "pulseaudio" "network" "clock" "tray" ]; + modules-right = [ "pulseaudio" "bluetooth" "network" "clock" "tray" ]; tray = { spacing = 8; }; clock = { format = "{:%a %b %d %H:%M}"; }; network = { - format-wifi = "{essid} ({signalStrength}%)"; - format-ethernet = "{ifname}"; + interval = 2; + format-ethernet = "{bandwidthDownBits} down {bandwidthUpBits} up"; + format-wifi = "{essid} {bandwidthDownBits} down {bandwidthUpBits} up"; format-disconnected = "disconnected"; }; pulseaudio = { - format = "{volume}% {icon}"; - format-icons = { default = [ "" ]; }; + format = "{icon} {volume}%"; + format-muted = " muted"; + format-icons = { + headphone = ""; + default = [ "" "" "" ]; + }; }; }]; style = '' @@ -281,7 +293,13 @@ in #window { color: #a5adcb; } - #clock, #network, #pulseaudio, #tray { + #bluetooth { + color: #8aadf4; + } + #bluetooth.off, #bluetooth.disabled { + color: #6e738d; + } + #clock, #network, #pulseaudio, #bluetooth, #tray { padding: 0 12px; margin: 4px 2px; color: #cad3f5;