Skip to content

close-in-switcher@Sarthak-Raghav: add new extension - #1122

Open
Sarthak-Raghav wants to merge 3 commits into
linuxmint:masterfrom
Sarthak-Raghav:add-close-in-switcher
Open

close-in-switcher@Sarthak-Raghav: add new extension#1122
Sarthak-Raghav wants to merge 3 commits into
linuxmint:masterfrom
Sarthak-Raghav:add-close-in-switcher

Conversation

@Sarthak-Raghav

Copy link
Copy Markdown

Adds a small extension that closes the highlighted window when Delete is
pressed in the Alt-Tab switcher. The switcher stays open, so multiple
windows can be closed in one Alt-Tab hold.

Restores behaviour familiar from KDE and Windows.

Implementation: patches AppSwitcher.prototype._keyPressEvent, with a guard
that logs and bails out if the expected internals aren't present. The
original method is restored in disable().

Tested on Cinnamon 6.6.9 (Linux Mint).

@claudiux

claudiux commented Aug 3, 2026

Copy link
Copy Markdown
Member

Please respect the File Structure. The screenshot.png file is missing.

@claudiux
claudiux marked this pull request as draft August 3, 2026 11:03
@Sarthak-Raghav
Sarthak-Raghav marked this pull request as ready for review August 4, 2026 14:38
@Sarthak-Raghav

Copy link
Copy Markdown
Author

@claudiux: Updated screenshot.png and icon.png. validate-spice passed now. Thanks for the File Structure doc!

@claudiux

claudiux commented Aug 4, 2026

Copy link
Copy Markdown
Member

Are you sure you want a screenshot.png so small?

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.

2 participants