add niri-outputs plugin to manage displays in niri#217
Open
adrlau wants to merge 1 commit intonoctalia-dev:mainfrom
Open
add niri-outputs plugin to manage displays in niri#217adrlau wants to merge 1 commit intonoctalia-dev:mainfrom
adrlau wants to merge 1 commit intonoctalia-dev:mainfrom
Conversation
ItsLemmy
reviewed
Feb 5, 2026
niri-outputs/BarWidget.qml
Outdated
| readonly property real barHeight: Style.getBarHeightForScreen(screenName) | ||
| readonly property real capsuleHeight: Style.getCapsuleHeightForScreen(screenName) | ||
|
|
||
| implicitWidth: capsuleHeight |
Contributor
There was a problem hiding this comment.
NIconButton would be better here, it would respect all the capsule and hover state automatically.
fix: correctly access main instance in panel and add debug logging feat: Add niri outputs plugin
Author
|
Used the NICONButton like you said. |
ItsLemmy
reviewed
Feb 6, 2026
| applyUiScale: false | ||
| icon: "device-desktop" | ||
| tooltipText: "Display Configuration" | ||
| tooltipDirection: BarService.getTooltipDirection() |
Contributor
There was a problem hiding this comment.
you need BarService.getTooltipDirection(screenName) (for different bars per screen)
ItsLemmy
reviewed
Feb 6, 2026
|
|
||
| colorBg: Style.capsuleColor | ||
| colorFg: Color.mOnSurface | ||
| colorBorder: "transparent" |
Contributor
There was a problem hiding this comment.
You alsso need, So it follows styling
border.color: Style.capsuleBorderColor
border.width: Style.capsuleBorderWidth
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a gui to rearrange displays in niri, using the niri msg command interface.
Ai tools where used to develop this, but it is tested and seemed to work nice.