-
-
Notifications
You must be signed in to change notification settings - Fork 732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash with this config #1449
Comments
I'm not able to reproduce. Can you upload your full config file? |
thanks for attention! {
"layer": "top",
"height": 26,
"modules-left": [
"sway/workspaces",
"sway/mode",
"sway/window"
],
"modules-center": [
"wlr/taskbar"
],
"modules-right": [
"network",
"pulseaudio",
"bluetooth",
"cpu",
"memory",
"disk#root",
"disk#home",
"disk#var",
"temperature#amdgpu",
"temperature#nvme",
"backlight",
"battery",
"idle_inhibitor",
"clock",
"tray"
],
"clock": {
"interval": 60,
"timezone": "Asia/Shanghai",
"tooltip-format": "<big>{:%Y-%m-%d %t%A}</big>\n\n<tt><big>{calendar}</big></tt>",
"format": " {:%d,%a %H:%M}",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": " {usage}%",
"states": {
"warning": 70,
"critical": 90
}
},
"disk#root": {
"path": "/",
"format": "🛳️ {percentage_used}%",
"states": {
"warning": 80,
"critical": 90
},
"on-click": "dolphin /"
},
"disk#home": {
"path": "/home",
"format": "🏛 {percentage_used}%",
"states": {
"warning": 80,
"critical": 90
},
"on-click": "dolphin ~"
},
"disk#var": {
"path": "/var",
"format": "🏞 {percentage_used}%",
"states": {
"warning": 80,
"critical": 90
},
"on-click": "dolphin /var"
},
"memory": {
"interval": 30,
"format": " {used:0.1f}G",
"tooltip-format": "已使用{}%",
"states": {
"warning": 70,
"critical": 90
}
},
"backlight": {
"format": "{icon} {percent}%",
"format-icons": [
""
]
},
"sway/language": {
"format": " {}",
"min-length": 5
},
"battery": {
"bat": "BAT0",
"design-capacity": true,
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-icons": [
"",
"",
"",
"",
""
]
},
"network": {
"interval": 5,
"min-length": 22,
"interface": "wlp1s0",
"format-wifi": " {bandwidthUpBits} {bandwidthDownBits}",
"format-ethernet": " {ipaddr}/{cidr}",
"format-linked": " {ifname}",
"format-disconnected": " 已断开⚠",
"tooltip-format": "{ifname} via {gwaddr}\n{essid}\t {signalStrength}%\n {bandwidthUpBits}\n {bandwidthDownBits}\n",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"on-click": "nm-connection-editor"
},
"pulseaudio": {
"format": "{icon} {volume}% {format_source}",
"format-bluetooth": "{icon} {volume}% {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": " {volume}%",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": [
"",
"",
""
]
},
"on-click": "pavucontrol"
},
"bluetooth": {
"format": "{icon}",
"tooltip-format": "bluetooth: {status}\n{}",
"format-icons": {
"enabled": "",
"disabled": "🅱️"
},
"on-click": "bluedevil-wizard"
},
"sway/mode": {
"format": "{}"
},
"mpd": {
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
"format-disconnected": "Disconnected ",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
"unknown-tag": "N/A",
"interval": 2,
"consume-icons": {
"on": " "
},
"random-icons": {
"off": " ",
"on": " "
},
"repeat-icons": {
"on": " "
},
"single-icons": {
"on": "1 "
},
"state-icons": {
"paused": "",
"playing": ""
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"temperature#nvme": {
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
"thermal-zone": 1,
"critical-threshold": 80,
"format-critical": "{temperatureC}°C {icon} ",
"format": "▘{temperatureC}°C ",
"tooltip-format": "nvme: {temperatureC}°C {icon}",
"format-icons": [
"",
"",
""
]
},
"temperature#amdgpu": {
"hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input",
"thermal-zone": 3,
"critical-threshold": 80,
"format-critical": "{temperatureC}°C {icon} ",
"format": "☢{temperatureC}°C ",
"tooltip-format": "amdgpu: {temperatureC}°C {icon}",
"format-icons": [
"",
"",
""
]
},
"wlr/taskbar": {
"align": "center",
"format": "{icon}{short_state}",
"icon-size": 21,
"icon-theme": "Breeze-dark",
"tooltip-format": "[{app_id}]\n{title}\n{state}",
"on-click": "activate",
"on-click-middle": "close",
"ignore-list": [
"Alacritty"
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
}
},
"sway/window": {
"format": "{}",
"max-length": 50,
"align": "left",
"rewrite": {
"(.*) - Mozilla Firefox": "🌎 $1",
"(.*) - fish": "> [$1]"
}
},
"tray": {
"icon-size": 16,
"spacing": 8
}
}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
waybar crashed and trace/debug report:
after hours of replace and trace, i've found this was caused by this config:
the issue is the {icon} in tooltip-format.
suggest:
The text was updated successfully, but these errors were encountered: