Files
nwg-panel/nwg_panel/common.py
2021-03-12 14:58:50 +01:00

34 lines
548 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 = {}
outputs_num = 0
windows_list = []
taskbars_list = []
scratchpads_list = []
controls_list = []
config_dir = ""
app_dirs = []
commands = {
"light": False,
"pamixer": False,
"pactl": False,
"playerctl": False,
"netifaces": False,
"pybluez": False,
"wlr-randr": False
}
icons_path = "" # "icons_light", "icons_dark" or "" (GTK icons)
defaults = {}