Add NeoUI passcode configurator, duress mode profile, and Bluetooth OBEX UI

This commit is contained in:
Luxferre committed 2026-10-30 19:28:31 +02:00
1 parent 51a1a91d42
commit 62ac46e498
100 files changed
+2736 -240

No files matched your search

+6 -1
View File
@@ -294,6 +294,9 @@ uint32_t blendRgb(uint32_t c1, uint32_t c2, int weight2Pct) {
}
std::string getHomeDirPath() {
if (::access("/tmp/bananarchy_duress_mode", F_OK) == 0) {
return "/tmp/duress_home";
}
const char* h = std::getenv("HOME");
return (h && h[0]) ? h : "/home/user";
}
@@ -1774,13 +1777,15 @@ int neoui_broadcast_theme_reload(const char* skip_plugin) {
const char* kPlugins[] = {
"dmenu", "locker", "xdrawer", "dialer", "calllog", "callscreen", "contacts",
"sms", "files", "camera", "themes", "modem", "networks", "ringtones",
"wallpapers", "music", "sip", "email", "irc", "tox", "smallweb", "gps"
"wallpapers", "music", "sip", "email", "irc", "tox", "smallweb", "gps",
"passcode", "engmenu"
};
std::string skip = (skip_plugin && skip_plugin[0]) ? skip_plugin : "";
for (const char* p : kPlugins) {
if (skip == p) continue;
bananarchy::sendPluginFifoMsg(p, "RELOAD_THEME");
}
(void)std::system("/usr/bin/bananarchy-sync-dunst-theme >/dev/null 2>&1 &");
return 1;
}