Skip to content

Conversation

@gicmo
Copy link
Contributor

@gicmo gicmo commented Apr 10, 2019

I want to write a simple GNOME shell extension that displays an icon if gamemode is active (maybe in the future a list of games requestion game mode as a menu would be nice too). For this a property that can be watched would be neat.

gicmo added 2 commits April 10, 2019 23:57
So it can be used from outside daemon/gamemode.c, to e.g. implement
an ClientCount property.
Introduce a new "ClientCount" dbus property that can be queried and
also watched to see if gamemode is currently active (or not).
@gicmo gicmo force-pushed the client_count_property branch from 8d391b6 to aef107e Compare April 10, 2019 22:10
@aejsmith aejsmith merged commit 61797b8 into FeralInteractive:master Apr 12, 2019
@aejsmith
Copy link
Contributor

A shell extension is a good idea, let me know when you have that implemented. These changes look good to me, merged.

@gicmo gicmo deleted the client_count_property branch April 12, 2019 11:23
@gicmo
Copy link
Contributor Author

gicmo commented Apr 13, 2019

I have started with the extension.

For now it will display an icon in that top bar, that will turn red once it is activated: gamemode-on icon

@mdiluz
Copy link
Contributor

mdiluz commented Apr 13, 2019

Love it! This has always been a future TODO for me, glad someone has grabbed it much earlier than I would have :)

afayaz-feral pushed a commit that referenced this pull request May 26, 2020
Introduce a ClientCount dbus Property
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.

3 participants