[PR #799] [MERGED] sway: support workspace rename events #9383

Closed
opened 2026-05-23 03:56:26 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/799
Author: @quietvoid
Created: 12/2/2024
Status: Merged
Merged: 12/5/2024
Merged by: @JakeStanger

Base: masterHead: sway_ws_rename


📝 Commits (1)

  • 15b1d6e sway: support workspace rename events

📊 Changes

2 files changed (+23 additions, -1 deletions)

View changed files

📝 src/clients/compositor/sway.rs (+10 -0)
📝 src/modules/workspaces.rs (+13 -1)

📄 Description

Simple enough to propagate the event of the rename.
However I'm not sure how to fix the order on rename, it doesn't seem to work if I just add

if self.sort == SortOrder::Alphanumeric {
    reorder_workspaces(&container);
}

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/ironbar/pull/799 **Author:** [@quietvoid](https://github.com/quietvoid) **Created:** 12/2/2024 **Status:** ✅ Merged **Merged:** 12/5/2024 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `sway_ws_rename` --- ### 📝 Commits (1) - [`15b1d6e`](https://github.com/JakeStanger/ironbar/commit/15b1d6e6e0c277dd22932844573b0fda00bb1944) sway: support workspace rename events ### 📊 Changes **2 files changed** (+23 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/clients/compositor/sway.rs` (+10 -0) 📝 `src/modules/workspaces.rs` (+13 -1) </details> ### 📄 Description Simple enough to propagate the event of the rename. However I'm not sure how to fix the order on rename, it doesn't seem to work if I just add ```rust if self.sort == SortOrder::Alphanumeric { reorder_workspaces(&container); } ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 03:56:26 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#9383
No description provided.