Skip to content
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

monitor: remove commas from short description #4970

Merged
merged 1 commit into from Mar 5, 2024

Conversation

MikeWalrus
Copy link
Contributor

Since hyprctl monitor shows szShortDescription now, it needs to be sanitized. (See #2457)

Also, monitor selectors are now compared against szShortDescription and szDescription to avoid re-striping the string.

Since `hyprctl monitor` shows szShortDescription now, it needs to be sanitized.
(See hyprwm#2457)

Also, monitor selectors are now compared against szShortDescription and
szDescription to avoid re-striping the string.
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vaxerski vaxerski merged commit 0815247 into hyprwm:main Mar 5, 2024
11 checks passed
MikeWalrus added a commit to MikeWalrus/nwg-displays that referenced this pull request Mar 5, 2024
Hyprland strips commas from their monitor descriptions. Therefore, we should
use the sanitized descriptions directly instead of building the string from
scratch.

Note that descriptions with commas won't work before hyprwm/Hyprland#4970 is
merged.
lisuke pushed a commit to lisuke/Hyprland that referenced this pull request Apr 15, 2024
Since `hyprctl monitor` shows szShortDescription now, it needs to be sanitized.
(See hyprwm#2457)

Also, monitor selectors are now compared against szShortDescription and
szDescription to avoid re-striping the string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants