feat: add desktop actions (jump lists) and pinned folder stacks - #3
Open
NothingManTR wants to merge 1 commit into
Open
feat: add desktop actions (jump lists) and pinned folder stacks#3NothingManTR wants to merge 1 commit into
NothingManTR wants to merge 1 commit into
Conversation
- Desktop Actions / Jump Lists: * Parse FreeDesktop .desktop [Desktop Action] sections across all XDG application directories * Expose quick actions (e.g. Incognito, New Window, New Chat, Projects) in app context menus * Add MenuDivider component for clean 1px section separators - Pinned Folder Stacks: * Allow pinning custom folders and standard XDG user dirs (Downloads, Documents, etc.) to the dock * Minimalist, overflow-safe single-column popover matching standard Omadock context menu styling * Quick 1-click file launching with xdg-open and open in file manager action * Native GTK folder selection integration in Omadock Settings
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.
Summary
This PR introduces two major productivity features to Omadock:
1. ⚡ FreeDesktop Desktop Actions / Jump Lists
.desktop[Desktop Action ...]sections across standard XDG application paths (~/.local/share/applications,/usr/share/applications, flatpak exports, etc.).MenuDividercomponent for clean 1px section separators.2. 🗂️ Pinned Folder Stacks
~/Downloads,~/Documents,~/Projects, or any custom directory) to the dock.xdg-open, plus an "Open in File Manager" action at the bottom.Text.ElideMiddle) ensuring long filenames never overflow the card bounds.Folders & Stacks ›).💬 Question / Advice for Maintainers: TUI & Terminal App Window Identity
During development, we explored whether terminal/TUI applications (e.g.,
battop,btop,htop,nvim,yazi) launched inside terminal emulators (foot,alacritty,kitty) could be dynamically recognized as distinct dock items with their own icon rather than grouping under the generic terminal emulator.Because standard terminal windows share the emulator's
app_id("foot"), dynamic child-process tree inspection via/procin background timers introduced race conditions and polling overhead.If maintainers or community members have ideas on the cleanest way to handle TUI app window identification on Hyprland/Wayland (e.g., via
xdg-terminal-exec --app-id=...vs compositor metadata), we would love to hear your advice and collaborate on it for a future update!