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

grimblast: add --freeze argument #39

Merged
merged 1 commit into from Jun 7, 2023
Merged

grimblast: add --freeze argument #39

merged 1 commit into from Jun 7, 2023

Conversation

fufexan
Copy link
Member

@fufexan fufexan commented Jun 6, 2023

Fixes #37

Adds -f | --freeze flag (only works in area mode). This freezes the screen using hyprpicker -r -z so make sure you have that installed. As always, grimblast check tells you whether you're missing anything.

grimblast/grimblast Outdated Show resolved Hide resolved
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.

nice

@fufexan
Copy link
Member Author

fufexan commented Jun 7, 2023

The double ESC to exit still bothers me, I honestly don't know how to fix it. Maybe there's a way to kill slurp when hyprpicker dies? CGroups? I have no clue.

@vaxerski
Copy link
Member

vaxerski commented Jun 7, 2023

hyprpicker should run behind, and you shouldnt be able to interact with it.

@fufexan
Copy link
Member Author

fufexan commented Jun 7, 2023

The problem might be that it somehow takes longer to start than slurp. Maybe adding a sleep 1 should fix it.

@fufexan
Copy link
Member Author

fufexan commented Jun 7, 2023

That did the trick. Even 200ms is enough.

@fufexan fufexan merged commit 5ca3e85 into main Jun 7, 2023
2 checks passed
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.

Grimblast screen freeze support
2 participants