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

Launcher truncate options & related refactors #651

Merged
merged 4 commits into from
Nov 24, 2024

Conversation

JakeStanger
Copy link
Owner

@JakeStanger JakeStanger commented Jun 28, 2024

Adds two new options to the launcher module:

  • truncate - applies to application names when show_names is enabled. This defaults to mode = "end".
  • truncate_popup - applies to window names within the group popup. This defaults to mode = "end" max_length = 25 and replaces the previous hard-coded implementation.

The truncate.mode option can now also be explicitly set to off everywhere it's taken. This is the same as leaving it as null in most cases for now, but I will be reviewing the other modules to ensure they too are using a sensible default.

The truncation code has also been refactored.

Resolves partially #633

@JakeStanger JakeStanger added this to the 0.17.0 milestone Nov 4, 2024
@JakeStanger JakeStanger force-pushed the feat/launcher-truncate branch from 0694f98 to da13b9d Compare November 24, 2024 21:36
@JakeStanger JakeStanger merged commit abf1c12 into master Nov 24, 2024
9 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.

1 participant