Merge branch 'master' of github.com:trigg/Discover
This commit is contained in:
commit
59192b3138
1 changed files with 5 additions and 1 deletions
|
|
@ -43,6 +43,10 @@ class Discover:
|
|||
self.debug_file = debug_file
|
||||
|
||||
self.do_args(args, True)
|
||||
if "GAMESCOPE_WAYLAND_DISPLAY" in os.environ:
|
||||
logging.info("GameScope session detected. Enabling steam and gamescope integration")
|
||||
self.steamos = True
|
||||
self.show_settings_delay = True
|
||||
|
||||
self.create_gui()
|
||||
|
||||
|
|
@ -74,7 +78,6 @@ class Discover:
|
|||
print("from Discord client")
|
||||
print("")
|
||||
print(" -c, --configure Open configuration window")
|
||||
print(" -s, --steamos Add X11 hint to overlay in gamescope")
|
||||
print(" -x, --close Close currently running instance")
|
||||
print(" -v, --debug Verbose output for aid in debugging")
|
||||
print(" -h, --help This screen")
|
||||
|
|
@ -93,6 +96,7 @@ class Discover:
|
|||
sys.exit(0)
|
||||
if "--steamos" in data or "-s" in data:
|
||||
self.steamos=True
|
||||
self.show_settings_delay=True
|
||||
if "--hide" in data:
|
||||
if self.voice_overlay:
|
||||
self.voice_overlay.set_hidden(True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue