mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 10:41:03 +02:00
fix(dynamic string): dynamic sections not respecting ordering
Fixes #69.
This commit is contained in:
parent
7212bbcf61
commit
8cbb73b75e
1 changed files with 3 additions and 0 deletions
|
@ -71,6 +71,9 @@ impl DynamicString {
|
||||||
let tx = tx.clone();
|
let tx = tx.clone();
|
||||||
let label_parts = label_parts.clone();
|
let label_parts = label_parts.clone();
|
||||||
|
|
||||||
|
// insert blank value to preserve segment order
|
||||||
|
lock!(label_parts).push(String::new());
|
||||||
|
|
||||||
spawn(async move {
|
spawn(async move {
|
||||||
script
|
script
|
||||||
.run(|(out, _)| {
|
.run(|(out, _)| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue