sxmo, plugins: restart Conky on time/timezone/wallpaper/logout and shorten # Input mode hints

This commit is contained in:
Luxferre
2026-10-25 16:06:47 +02:00
parent 7c707844cc
commit 651720b56b
32 changed files with 273 additions and 35 deletions
+1 -1
View File
@@ -549,7 +549,7 @@ int runContactsApp(int argc, char** argv) {
}
};
drawFieldBox(44, 56, editField == 0, "Name (# changes case):", editName,
drawFieldBox(44, 56, editField == 0, "Name (# Input mode):", editName,
"Type name on keypad...");
drawFieldBox(106, 56, editField == 1,
"Number (Hold 0 for +):", editNumber, "Enter phone number...");
+1 -1
View File
@@ -852,7 +852,7 @@ int runFilesApp(int argc, char** argv) {
kWinWidth - 32);
drawPango(layoutSmall, &colMuted, 10, 126, 20,
"0-9: multi-tap #: cycle case", 220);
"# Input mode", 220);
drawSoftkeyBar("Save", "Save",
inputValue.empty() ? "Cancel" : "Del");
+1 -1
View File
@@ -970,7 +970,7 @@ int runModemApp(int argc, char** argv) {
// Row 0: AT Command Input Box (Y=contentY..contentY+46)
drawPango(layoutSmall, &colYellow, 8, contentY, 18,
std::string(kIconTerm) + " AT Command (# mode, * +?=):");
std::string(kIconTerm) + " AT (# Input mode):");
int mbW = pangoTextWidth(layoutSmall, modeBadge);
drawPango(layoutSmall, &colGreen, kWinWidth - mbW - 8, contentY, 18, modeBadge);
+1 -1
View File
@@ -847,7 +847,7 @@ int runNetworksApp(int argc, char** argv) {
drawPango(layoutMain, &colWhite, 24, 100, 34, disp + "_", kWinWidth - 48);
drawPango(layoutSmall, &colMuted, 18, 144, 18,
"[#] Cycle input mode (abc/Abc/ABC/123/Sym)");
"# Input mode", kWinWidth - 36);
drawPango(layoutSmall, &colMuted, 18, 164, 18,
"[*] Toggle Show/Hide password");
drawPango(layoutSmall, &colMuted, 18, 184, 18,
+1 -1
View File
@@ -717,7 +717,7 @@ int runSmsApp(int argc, char** argv) {
if (msgSel) bodyDisp += "|";
if (bodyDisp.empty()) {
drawPango(layoutSmall, &colMuted, 12, 78, 20,
"Type message (0-9, # case)...", kWinWidth - 24);
"Type message (# Input mode)...", kWinWidth - 24);
} else {
pango_layout_set_width(layoutMain, (kWinWidth - 24) * PANGO_SCALE);
pango_layout_set_wrap(layoutMain, PANGO_WRAP_WORD_CHAR);
+1 -1
View File
@@ -827,7 +827,7 @@ int runThemesApp(int argc, char** argv) {
drawPango(layoutSmall, &colMuted, 10, 124, 20,
"Saves to ~/.xthemes/<Name>.xth", 220);
drawPango(layoutSmall, &colMuted, 10, 146, 20,
"0-9: multi-tap #: cycle case", 220);
"# Input mode", 220);
drawSoftkeyBar("Save", "Save", nameInput.empty() ? "Cancel" : "Del");
} else if (mode == ViewMode::ConfirmDelete && !themes.empty()) {
+4 -1
View File
@@ -184,7 +184,10 @@ void applyAndSaveWallpaper(const std::string& path, int modeIdx) {
if (ofs) ofs << kScaleModes[modeIdx].id << "\n";
}
runAsyncCmd(std::string("feh --no-fehbg ") + kScaleModes[modeIdx].fehFlag +
" " + shellQuote(path) + " >/dev/null 2>&1");
" " + shellQuote(path) +
" >/dev/null 2>&1; "
"PATH=\"$HOME/.config/sxmo/hooks:/usr/share/sxmo/default_hooks:$PATH\" "
"sxmo_hook_statusbar.sh time >/dev/null 2>&1");
}
int runWallpapersApp(int argc, char** argv) {