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

fix: Invalid regex for fullscreen idleinhibit windowrulev2's title #347

Closed
wants to merge 1 commit into from

Conversation

martian0x80
Copy link

Pull Request

Description

The windowrulev2 for fullscreen idleinhibit has an invalid regex expression for title which throws an error along the lines [ERR] Regex error at title:^(*)$ (Mismatched '(' and ')' in regular expression) in the logs. The correct regex pattern should include a "match any character" (.) before the Kleene star (*).

Type of change

Please put an x in the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (non-breaking change; modified files are limited to the documentations)
  • Technical debt (a code change that does not fix a bug or add a feature but makes something clearer for devs)
  • Other (provide details below)

Checklist

Please put an x in the boxes that apply:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My commit message follows the commit guidelines.
  • My change requires a change to the documentation.
  • I want to add something in Hyprland-Dots wiki.
  • I have added tests to cover my changes.
  • I have tested my code locally and it works as expected.
  • All new and existing tests passed.

The windowrulev2 for fullscreen idleinhibit has an invalid regex expression for title which throws an error along the lines "[ERR] Regex error at  title:^(*)$ (Mismatched '(' and ')' in regular expression)".
@JaKooLit
Copy link
Owner

thanks...

can you paste the source pls

@martian0x80
Copy link
Author

thanks...

can you paste the source pls

Um, source?

@JaKooLit
Copy link
Owner

thanks...
can you paste the source pls

Um, source?

yes...

because I am using the previous config with no issue.. anything which is fullscreen, even tty only, idle will not kick in

@JaKooLit JaKooLit closed this Jul 2, 2024
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.

2 participants