daniellandau / switcher

Gnome Shell extension to switch windows quickly by typing
GNU General Public License v3.0
347 stars 43 forks source link

Option to close a selected window with the ctrl+w shortcut #148

Open GrantByrne opened 2 years ago

GrantByrne commented 2 years ago

This is one feature that I liked having on https://github.com/kvakulo/Switcheroo was the ability to close a running app.

I think the logic would follow something like this:

  1. User highlights an app that an open window
  2. User presses ctrl+w
  3. The app goes through gnome to trigger the app close action. I'm not sure if this is provided by gnome, but that would be really nice.

Additional variations of this would be to have a shortcut to kill the app instead of just having gnome close it. Something like "shift+ctrl+w" would be pretty cool.

daniellandau commented 2 years ago

I've been thinking about close functionality but haven't found a design that would satisfy my "do no harm" and "principle of least surprise" philosophies. Maybe if the close functionality had to be enabled explicitly in preferences.

GrantByrne commented 2 years ago

I would be fine with explicitly enabling this in the settings. Would also likely want to manually set the keyboard shortcut for all the people who want something that isn't ctrl+w for this.