micheleg / dash-to-dock

A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.
https://micheleg.github.io/dash-to-dock/
GNU General Public License v2.0
3.82k stars 463 forks source link

Isolate workspaces behavior with app launch keyboard shortcuts #2123

Open distefam opened 7 months ago

distefam commented 7 months ago

Using the "Isolate workspaces" setting, Dash to Dock uses logic to determine whether to activate a window or launch a new instance of an app (https://github.com/micheleg/dash-to-dock/blob/master/appIcons.js#L732). This is really great behavior and exactly what I want to happen.

However, when mapping a custom GNOME keyboard shortcut (via the GNOME settings app) to launch an app with a command it skips this logic. Is it possible to launch an app with a keyboard shortcut while retaining this logic?

I'm aware that Dash to Dock has a setting to be able to launch apps with SUPER+number, but that's not what I'm looking for. I'd like to be able to make a custom launcher for specific apps.