Updated notifications to handle actions and added a blue dbus messenger to listen for bluetooth actions.

This commit is contained in:
Jas Singh
2024-06-19 01:53:27 -07:00
parent ca488f4fb6
commit dd13346e1b
7 changed files with 265 additions and 53 deletions

View File

@@ -23,10 +23,10 @@ DirectoryMonitorService.connect("changed", () => applyScss());
applyScss();
const workspaceMonitorMap = {
0: [4,5],
1: [6,7],
2: [1,2,3,8,9,10],
}
0: [4, 5],
1: [6, 7],
2: [1, 2, 3, 8, 9, 10],
};
App.config({
windows: [
@@ -42,4 +42,17 @@ App.config({
launcher: 350,
bar0: 350,
},
onConfigParsed: () =>
Utils.subprocess(
[
"python3",
`${App.configDir}/services/bluetooth.py`,
],
// callback when the program outputs something to stdout
(output) => console.info(output),
// callback on error
(err) => console.info(err),
),
});