App icon categories with drag-and-drop grouping#2579
Open
db0x wants to merge 36 commits intomicheleg:masterfrom
Open
App icon categories with drag-and-drop grouping#2579db0x wants to merge 36 commits intomicheleg:masterfrom
db0x wants to merge 36 commits intomicheleg:masterfrom
Conversation
- show() before ensure_style()/_reposition() so get_preferred_size() returns correct values - position-aware _reposition() for all 4 dock sides (bottom/top/left/right) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rename all identifiers, GSettings keys, and UI widget IDs from the custom-icon/CustomApp namespace to category-icon/CategoryIcon to better reflect the feature's purpose (filtering apps by desktop category). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace the single category icon (5 individual GSettings keys) with a JSON array key 'category-icons', where each entry holds name, label, category and position. DockManager now manages a _categoryIcons[] array, updating or recreating instances on config changes. The preferences UI (Launchers tab) gets a fully dynamic list: each icon shows an inline label, icon-name entry and category dropdown, plus a remove button. An "Add Category Icon" button appends a new entry. External GSettings changes (e.g. from the dock itself) also update the list, with a _writingFromUI guard to prevent rebuild loops on UI edits. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Skipping drag target: Error: GSettings key user-categories not found in schema org.gnome.shell.extensions.dash-to-dock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: App icon categories with drag-and-drop grouping
Adds a lightweight category system to the dock — no settings required.
What it does
Also included
WM_CLASS(e.g. emulators): awindow-createdlistener with a short delay supplementsapp-state-changedto ensure reliable app detectionNote
This feature was developed with the assistance of AI (Claude by Anthropic). While functional, the implementation likely needs review and refinement in several areas — feedback and improvements are very welcome.