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

Move dwindle config "no gaps when only" to workspace rules #868

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

b4shful
Copy link
Contributor

@b4shful b4shful commented Oct 15, 2024

Updated hyprland today and noticed that I was getting an error/red error message at the top of the screen as I had no_gaps_when_only = 1 uncommented in the dwindle config section of general.conf

Turns out that setting has been removed, and the new method to achieve this setting is using workspace rules.

The rules I added were taken from a recent update to the Hyprland default/example config (hyprwm/Hyprland@8e51a36). Since there don't seem to be any existing workspace rules, I added a section for them to the rules file, and then added the example code verbatim (with one extra comment line explaining that it replaces the old dwindle config setting).

As the no_gaps_when_only = 1 is commented out in the current dots-hyprland general.conf file, I have kept the "smart gaps" lines commented in their new position, so this shouldn't change any default functionality. My commit just removes a commented config setting that no longer exists and adds a commented replacement for it.

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.

1 participant