aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeer <himbeerserverde@gmail.com>2024-03-25 08:50:51 +0100
committerHimbeer <himbeerserverde@gmail.com>2024-03-25 08:50:51 +0100
commit6c4611f8d357237a93fbd97479ab46da7d6677a9 (patch)
tree6c3d91c2dd3fc26676e63570a2166b6a5fb5b7d4
parentd5416a02d0e5a79367bbdc1b180b51ec9fd4e9dc (diff)
fix waybar crashing on multi-monitor setups
This disables the wireplumber module on all but one output. Should be reverted after the fix makes its way to upstream.
-rw-r--r--waybar/config275
1 files changed, 210 insertions, 65 deletions
diff --git a/waybar/config b/waybar/config
index f0d1083..7555d5d 100644
--- a/waybar/config
+++ b/waybar/config
@@ -1,70 +1,215 @@
-{
- "layer": "top",
- "modules-left": ["river/tags", "network#eth0", "network#wlan0"],
- "modules-right": ["tray", "cpu", "memory", "wireplumber", "battery", "backlight", "clock"],
- "network#eth0": {
- "format-disconnected": "",
- "format-linked": "{icon} ⇅",
- "format-ethernet": "{icon} ⇅ ↓ {bandwidthDownBytes} ↑ {bandwidthUpBytes}",
- "format-icons": {
- "disconnected": "📵",
- "linked": "🔗",
- "ethernet": "🌐",
- },
- "interface": "eth0",
- "interval": 1
- },
- "network#wlan0": {
- "format-disconnected": "",
- "format-linked": "{icon} {essid} 🛜 {signalStrength}%",
- "format-wifi": "{icon} {essid} 🛜 {signalStrength}% ↓ {bandwidthDownBytes} ↑ {bandwidthUpBytes}",
- "format-icons": {
- "disconnected": "📵",
- "linked": "🔗",
- "wifi": "🌐",
- },
- "interface": "wlan0",
- "interval": 1
- },
- "cpu": {
- "format": "💻 {usage}%",
- "interval": 2
- },
- "memory": {
- "format": "🐏 {avail} GiB",
- "interval": 5,
- "states": {
- "warning": 70,
- "critical": 90
+[
+ {
+ "output": "eDP-1",
+ "layer": "top",
+ "modules-left": ["river/tags", "network#eth0", "network#wlan0"],
+ "modules-right": ["tray", "cpu", "memory", "wireplumber", "battery", "backlight", "clock"],
+ "network#eth0": {
+ "format-disconnected": "",
+ "format-linked": "{icon} ⇅",
+ "format-ethernet": "{icon} ⇅ ↓ {bandwidthDownBytes} ↑ {bandwidthUpBytes}",
+ "format-icons": {
+ "disconnected": "📵",
+ "linked": "🔗",
+ "ethernet": "🌐",
+ },
+ "interface": "eth0",
+ "interval": 1
+ },
+ "network#wlan0": {
+ "format-disconnected": "",
+ "format-linked": "{icon} {essid} 🛜 {signalStrength}%",
+ "format-wifi": "{icon} {essid} 🛜 {signalStrength}% ↓ {bandwidthDownBytes} ↑ {bandwidthUpBytes}",
+ "format-icons": {
+ "disconnected": "📵",
+ "linked": "🔗",
+ "wifi": "🌐",
+ },
+ "interface": "wlan0",
+ "interval": 1
+ },
+ "cpu": {
+ "format": "💻 {usage}%",
+ "interval": 2
+ },
+ "memory": {
+ "format": "🐏 {avail} GiB",
+ "interval": 5,
+ "states": {
+ "warning": 70,
+ "critical": 90
+ }
+ },
+ "wireplumber": {
+ "format": "{icon} {volume}%",
+ "format-muted": "🔇 {volume}%",
+ "format-icons": ["🔈", "🔉", "🔊"],
+ "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
+ },
+ "battery": {
+ "format": "🔋 {icon} {capacity}% {power} W {time}",
+ "format-charging": "⚡ {icon} {capacity}% {power} W {time}",
+ "format-fully-charged": "🔌 {icon} {capacity}% {power} W {time}",
+ "format-time": "{H}:{m}",
+ "format-icons": {
+ "full": "✅",
+ "low": "🚨"
+ },
+ "states": {
+ "full": 100,
+ "low": 15
+ }
+ },
+ "backlight": {
+ "format": "{icon} {percent}%",
+ "format-icons": ["💡"],
+ "scroll-step": 5
+ },
+ "clock": {
+ "format": "{:%Y-%m-%d %H:%M:%S}",
+ "interval": 1
}
},
- "wireplumber": {
- "format": "{icon} {volume}%",
- "format-muted": "🔇 {volume}%",
- "format-icons": ["🔈", "🔉", "🔊"],
- "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
- },
- "battery": {
- "format": "🔋 {icon} {capacity}% {power} W {time}",
- "format-charging": "⚡ {icon} {capacity}% {power} W {time}",
- "format-fully-charged": "🔌 {icon} {capacity}% {power} W {time}",
- "format-time": "{H}:{m}",
- "format-icons": {
- "full": "✅",
- "low": "🚨"
- },
- "states": {
- "full": 100,
- "low": 15
+ {
+ "output": "DP-1",
+ "layer": "top",
+ "modules-left": ["river/tags", "network#eth0", "network#wlan0"],
+ "modules-right": ["tray", "cpu", "memory", "wireplumber", "battery", "backlight", "clock"],
+ "network#eth0": {
+ "format-disconnected": "",
+ "format-linked": "{icon} ⇅",
+ "format-ethernet": "{icon} ⇅ ↓ {bandwidthDownBytes} ↑ {bandwidthUpBytes}",
+ "format-icons": {
+ "disconnected": "📵",
+ "linked": "🔗",
+ "ethernet": "🌐",
+ },
+ "interface": "eth0",
+ "interval": 1
+ },
+ "network#wlan0": {
+ "format-disconnected": "",
+ "format-linked": "{icon} {essid} 🛜 {signalStrength}%",
+ "format-wifi": "{icon} {essid} 🛜 {signalStrength}% ↓ {bandwidthDownBytes} ↑ {bandwidthUpBytes}",
+ "format-icons": {
+ "disconnected": "📵",
+ "linked": "🔗",
+ "wifi": "🌐",
+ },
+ "interface": "wlan0",
+ "interval": 1
+ },
+ "cpu": {
+ "format": "💻 {usage}%",
+ "interval": 2
+ },
+ "memory": {
+ "format": "🐏 {avail} GiB",
+ "interval": 5,
+ "states": {
+ "warning": 70,
+ "critical": 90
+ }
+ },
+ "wireplumber": {
+ "format": "{icon} {volume}%",
+ "format-muted": "🔇 {volume}%",
+ "format-icons": ["🔈", "🔉", "🔊"],
+ "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
+ },
+ "battery": {
+ "format": "🔋 {icon} {capacity}% {power} W {time}",
+ "format-charging": "⚡ {icon} {capacity}% {power} W {time}",
+ "format-fully-charged": "🔌 {icon} {capacity}% {power} W {time}",
+ "format-time": "{H}:{m}",
+ "format-icons": {
+ "full": "✅",
+ "low": "🚨"
+ },
+ "states": {
+ "full": 100,
+ "low": 15
+ }
+ },
+ "backlight": {
+ "format": "{icon} {percent}%",
+ "format-icons": ["💡"],
+ "scroll-step": 5
+ },
+ "clock": {
+ "format": "{:%Y-%m-%d %H:%M:%S}",
+ "interval": 1
}
},
- "backlight": {
- "format": "{icon} {percent}%",
- "format-icons": ["💡"],
- "scroll-step": 5
- },
- "clock": {
- "format": "{:%Y-%m-%d %H:%M:%S}",
- "interval": 1
+ {
+ "output": "HDMI-A-1",
+ "layer": "top",
+ "modules-left": ["river/tags", "network#eth0", "network#wlan0"],
+ "modules-right": ["tray", "cpu", "memory", "battery", "backlight", "clock"],
+ "network#eth0": {
+ "format-disconnected": "",
+ "format-linked": "{icon} ⇅",
+ "format-ethernet": "{icon} ⇅ ↓ {bandwidthDownBytes} ↑ {bandwidthUpBytes}",
+ "format-icons": {
+ "disconnected": "📵",
+ "linked": "🔗",
+ "ethernet": "🌐",
+ },
+ "interface": "eth0",
+ "interval": 1
+ },
+ "network#wlan0": {
+ "format-disconnected": "",
+ "format-linked": "{icon} {essid} 🛜 {signalStrength}%",
+ "format-wifi": "{icon} {essid} 🛜 {signalStrength}% ↓ {bandwidthDownBytes} ↑ {bandwidthUpBytes}",
+ "format-icons": {
+ "disconnected": "📵",
+ "linked": "🔗",
+ "wifi": "🌐",
+ },
+ "interface": "wlan0",
+ "interval": 1
+ },
+ "cpu": {
+ "format": "💻 {usage}%",
+ "interval": 2
+ },
+ "memory": {
+ "format": "🐏 {avail} GiB",
+ "interval": 5,
+ "states": {
+ "warning": 70,
+ "critical": 90
+ }
+ },
+ "wireplumber": {
+ "format": "{icon} {volume}%",
+ "format-muted": "🔇 {volume}%",
+ "format-icons": ["🔈", "🔉", "🔊"],
+ "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
+ },
+ "battery": {
+ "format": "🔋 {icon} {capacity}% {power} W {time}",
+ "format-charging": "⚡ {icon} {capacity}% {power} W {time}",
+ "format-fully-charged": "🔌 {icon} {capacity}% {power} W {time}",
+ "format-time": "{H}:{m}",
+ "format-icons": {
+ "full": "✅",
+ "low": "🚨"
+ },
+ "states": {
+ "full": 100,
+ "low": 15
+ }
+ },
+ "backlight": {
+ "format": "{icon} {percent}%",
+ "format-icons": ["💡"],
+ "scroll-step": 5
+ },
+ "clock": {
+ "format": "{:%Y-%m-%d %H:%M:%S}",
+ "interval": 1
+ }
}
-}
+]