Add bluetooth to waybar and remove all distractions

Hide status on tooltips only
This commit is contained in:
David Heinemeier Hansson
2025-06-16 13:25:16 +02:00
parent 21a6d57de8
commit 8ff4a25683
2 changed files with 13 additions and 5 deletions

View File

@ -10,6 +10,7 @@
"clock" "clock"
], ],
"modules-right": [ "modules-right": [
"bluetooth",
"network", "network",
"cpu", "cpu",
"battery", "battery",
@ -42,7 +43,7 @@
}, },
"cpu": { "cpu": {
"interval": 5, "interval": 5,
"format": "{usage}% 󰍛", "format": "󰍛",
"on-click": "alacritty -e btop" "on-click": "alacritty -e btop"
}, },
"clock": { "clock": {
@ -52,11 +53,10 @@
}, },
"network": { "network": {
"format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"], "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"],
"format-wifi" : "{bandwidthDownBytes} {icon}", "format-wifi" : "{icon}",
"format-ethernet" : "{bandwidthDownBytes} 󰀂", "format-ethernet" : "󰀂",
"format-disconnected" : "󰖪", "format-disconnected" : "󰖪",
"tooltip-format-wifi": "{icon} {essid}\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}", "tooltip-format": "⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
"tooltip-format-ethernet": "{icon} {ifname}\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
"tooltip-format-disconnected": "Disconnected", "tooltip-format-disconnected": "Disconnected",
"interval": 3, "interval": 3,
"nospacing": 1, "nospacing": 1,
@ -83,6 +83,13 @@
"critical": 10 "critical": 10
} }
}, },
"bluetooth": {
"format": "",
"format-disabled": "󰂲",
"format-connected": "",
"tooltip-format": "{num_connections} devices connected",
"on-click": "GTK_THEME=Adwaita-dark /usr/bin/blueberry"
},
"power-profiles-daemon": { "power-profiles-daemon": {
"format": "{icon}", "format": "{icon}",
"tooltip-format": "Power profile: {profile}", "tooltip-format": "Power profile: {profile}",

View File

@ -22,6 +22,7 @@
#power-profiles-daemon, #power-profiles-daemon,
#battery, #battery,
#network, #network,
#bluetooth,
#clock { #clock {
padding: 0 8px 0 8px; padding: 0 8px 0 8px;
} }