Files
nwg-panel/nwg_panel/common.py
2021-03-11 13:19:56 +01:00

34 lines
550 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 = {
"pamixer": False,
"wlr-randr": False,
"light": False,
"playerctl": False,
"pactl": False,
"systemctl": False,
"netifaces": False
}
icons_path = "" # "icons_light", "icons_dark" or "" (GTK icons)
defaults = {}