Sindbad~EG File Manager

Current Path : /usr/share/apport/general-hooks/
Upload File :
Current File : //usr/share/apport/general-hooks/wayland_session.py

'''Detect if the current session is running under wayland'''

import os


def add_info(report, ui):
    if os.environ.get('WAYLAND_DISPLAY'):
        report.setdefault('Tags', '')
        report['Tags'] += ' wayland-session'

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists