[PR #23] [MERGED] feat: more positioning options #8882

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

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/23
Author: @JakeStanger
Created: 10/13/2022
Status: Merged
Merged: 10/15/2022
Merged by: @JakeStanger

Base: masterHead: feat/orientation-options


📝 Commits (9)

  • 3733f7e feat: more positioning options
  • 545573d Merge branch 'master' into feat/orientation-options
  • 53a72a5 feat: popup support for positioning options
  • eda1b91 fix: container names still using left and right
  • 6f35cce style: run fmt
  • 624b4b1 docs: update examples
  • b366c5c style: run fmt
  • 5975de7 fix: popup location when bar unanchored
  • cdb12a7 style: run rustfmt

📊 Changes

14 files changed (+254 additions, -83 deletions)

View changed files

📝 examples/config.corn (+3 -1)
📝 examples/config.json (+7 -3)
📝 src/bar.rs (+53 -22)
📝 src/config.rs (+26 -3)
📝 src/modules/clock.rs (+10 -4)
📝 src/modules/focused.rs (+3 -3)
📝 src/modules/launcher/item.rs (+7 -3)
📝 src/modules/launcher/mod.rs (+4 -2)
📝 src/modules/mod.rs (+4 -4)
📝 src/modules/mpd/mod.rs (+11 -3)
📝 src/modules/script.rs (+2 -1)
📝 src/modules/sysinfo.rs (+4 -3)
📝 src/modules/workspaces.rs (+2 -2)
📝 src/popup.rs (+118 -29)

📄 Description

Can now display the bar on the left/right, and avoid anchoring to edges to center the bar.

BREAKING CHANGE: The left and right config options have been renamed to start and end

Checklist:

  • Update config
  • Implement in modules
  • Update documentation

Fixes #22


🔄 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/23 **Author:** [@JakeStanger](https://github.com/JakeStanger) **Created:** 10/13/2022 **Status:** ✅ Merged **Merged:** 10/15/2022 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `feat/orientation-options` --- ### 📝 Commits (9) - [`3733f7e`](https://github.com/JakeStanger/ironbar/commit/3733f7ec64a7f4eac00bbbc29503c3924d884b74) feat: more positioning options - [`545573d`](https://github.com/JakeStanger/ironbar/commit/545573d923daeef271a54cb1d29c75c800340fea) Merge branch 'master' into feat/orientation-options - [`53a72a5`](https://github.com/JakeStanger/ironbar/commit/53a72a5fc273143abd52068c80e0b0834fc1a406) feat: popup support for positioning options - [`eda1b91`](https://github.com/JakeStanger/ironbar/commit/eda1b91b5c12a8ed6167cf604681aa37bf85142f) fix: container names still using `left` and `right` - [`6f35cce`](https://github.com/JakeStanger/ironbar/commit/6f35cce60b0cf60daf1c9b647bdd6af1062d299f) style: run fmt - [`624b4b1`](https://github.com/JakeStanger/ironbar/commit/624b4b18efe1beeda476d5a4789dc68a3566517f) docs: update examples - [`b366c5c`](https://github.com/JakeStanger/ironbar/commit/b366c5c4f216a7ea1c2ae1731c9e2789524843e4) style: run fmt - [`5975de7`](https://github.com/JakeStanger/ironbar/commit/5975de7315bb623a5c8a13009787e1c8830ad77c) fix: popup location when bar unanchored - [`cdb12a7`](https://github.com/JakeStanger/ironbar/commit/cdb12a7bbb1be5c268553807473bd97c84487543) style: run rustfmt ### 📊 Changes **14 files changed** (+254 additions, -83 deletions) <details> <summary>View changed files</summary> 📝 `examples/config.corn` (+3 -1) 📝 `examples/config.json` (+7 -3) 📝 `src/bar.rs` (+53 -22) 📝 `src/config.rs` (+26 -3) 📝 `src/modules/clock.rs` (+10 -4) 📝 `src/modules/focused.rs` (+3 -3) 📝 `src/modules/launcher/item.rs` (+7 -3) 📝 `src/modules/launcher/mod.rs` (+4 -2) 📝 `src/modules/mod.rs` (+4 -4) 📝 `src/modules/mpd/mod.rs` (+11 -3) 📝 `src/modules/script.rs` (+2 -1) 📝 `src/modules/sysinfo.rs` (+4 -3) 📝 `src/modules/workspaces.rs` (+2 -2) 📝 `src/popup.rs` (+118 -29) </details> ### 📄 Description Can now display the bar on the left/right, and avoid anchoring to edges to center the bar. BREAKING CHANGE: The `left` and `right` config options have been renamed to `start` and `end` Checklist: - [x] Update config - [x] Implement in modules - [x] Update documentation Fixes #22 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 03:55:01 +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#8882
No description provided.