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

feat(#11): custom border width for when smart gaps hides gaps #12

Merged
merged 16 commits into from
May 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
replace the old test with the new option
  • Loading branch information
senkowo committed May 25, 2024
commit e64a69cb0f8eebe2589dbaa6c822eb58a56c0298
2 changes: 1 addition & 1 deletion src/displ.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void desire_style(const struct Tag *tag, const uint32_t view_count) {
d.style_desired.border_width = cfg->border_width_monocle;
d.style_desired.border_color_focused = cfg->border_color_focused_monocle;
} else if (view_count == 1 && tag->smart_gaps) {
d.style_desired.border_width = cfg->border_width_monocle;
d.style_desired.border_width = cfg->border_width_smart_gaps;
d.style_desired.border_color_focused = cfg->border_color_focused;
} else {
d.style_desired.border_width = cfg->border_width;
Expand Down