Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit i3 to stop an application from adding its icon to the tray #6061

Open
2 tasks done
Maritims opened this issue May 19, 2024 · 1 comment
Open
2 tasks done

Permit i3 to stop an application from adding its icon to the tray #6061

Maritims opened this issue May 19, 2024 · 1 comment
Labels
enhancement requires-configuration This feature request requires new configuration

Comments

@Maritims
Copy link

Welcome

  • Yes, I've searched similar issues and discussions on GitHub and didn't find any.

Impact

  • This feature requires new configuration and/or commands

Current Behavior

Currently i3 will allow any application to add its icon to the tray. The only way to prevent this is by using tray_output none.

Desired Behavior

Not all applications out there will provide the user with the opportunity to not add its icon to the tray, so it could be nice to get to stop some applications from adding their icon by adding a directive to the i3 config per application.

The following example would refuse the request from VLC and Slack to put their icons in the tray:

bar {
    banned_wm_class vlc
    banned_wm_class slack
}

I have already implemented this in a fork which can be inspected here: https://github.com/Maritims/i3

i3 version

Binary i3 version:  4.23 © 2009 Michael Stapelberg and contributors
@i3bot i3bot added the requires-configuration This feature request requires new configuration label May 19, 2024
@i3bot
Copy link

i3bot commented May 19, 2024

Please note that new features which require additional configuration will usually not be considered. We are happy with the feature set of i3 and want to focus in fixing bugs instead. We do accept feature requests, however, and will evaluate whether the added benefit (clearly) outweighs the complexity it adds to i3.

Keep in mind that i3 provides a powerful way to interact with it through its IPC interface: https://i3wm.org/docs/ipc.html.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement requires-configuration This feature request requires new configuration
Projects
None yet
Development

No branches or pull requests

2 participants