Add Wallpapers and Ringtones to top-level Sys menu in dmenu.so

This commit is contained in:
Luxferre
2026-10-24 20:10:42 +03:00
parent dc59704547
commit f394d2b135
3 changed files with 6 additions and 0 deletions
Binary file not shown.
Binary file not shown.
+6
View File
@@ -1952,6 +1952,12 @@ open_builtin_menu(const char *menu_name, int keep_idx)
snprintf(label, sizeof(label), "%s Themes", ICON_THM);
add_menu_item(label, "@plugin:themes", 0);
snprintf(label, sizeof(label), "%s Wallpapers", ICON_THM);
add_menu_item(label, "@plugin:wallpapers", 0);
snprintf(label, sizeof(label), "%s Ringtones", ICON_BEL);
add_menu_item(label, "@plugin:ringtones", 0);
char bl_buf[32] = "";
if (read_first_line("/sys/class/leds/white:torch/brightness", bl_buf, sizeof(bl_buf)) ||
read_first_line("/sys/class/leds/white:flash/brightness", bl_buf, sizeof(bl_buf))) {