Files
nwg-panel/nwg_panel/common.py
2021-02-24 02:17:15 +01:00

27 lines
431 B
Python

#!/usr/bin/env python3
import os
sway = False
if os.getenv('SWAYSOCK') is not None:
from i3ipc import Connection
i3 = Connection()
ipc_data = None
outputs = {}
windows_list = []
taskbars_list = []
scratchpads_list = []
controls_list = []
config_dir = ""
app_dirs = []
dependencies = {
"pyalsa": False,
"netifaces": False,
"amixer": False
}
icons_path = "" # "icons_light", "icons_dark" or "" (GTK icons)