Initial commit: epaper-dashboard for 7.3" ACeP 7-Color display
- dashboard.py: plugin-based renderer with 4x4 grid layout - admin.py: web UI with layout editor + plugin configs - layout.py: pack algorithm, item placement, grid system - plugins/: clock, weather, system, spotify, strava, gmail, minimax, hello - network_watchdog.py: WiFi AP/client mode management - waveshare_epd_init.py: vendor driver stub
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// Erlaubt koptikp (uid 1000) NetworkManager ohne Passwort zu steuern.
|
||||
// Wir prüfen explizit auf uid, weil subject.local/active für SSH-Sessions
|
||||
// oft nicht das tut, was man erwartet (logind behandelt SSH-Logins anders).
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (action.id.indexOf("org.freedesktop.NetworkManager.") === 0 &&
|
||||
subject.user === "koptikp") {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user