Remove Toggle Bar item from Config menu

This commit is contained in:
Luxferre committed 2026-10-26 19:15:20 +02:00
1 parent c137feee0e
commit c8b90640fb
5 files changed
-4

No files matched your search

-1
View File
@@ -228,7 +228,6 @@ $icon_phl Modem Log^0^sxmo_modemlog.sh"
CHOICES="$icon_cfg Themes^0^xthemes
$icon_aru Brightness^1^sxmo_brightness.sh up
$icon_ard Brightness^1^sxmo_brightness.sh down
$icon_cfg Toggle Bar^0^sxmo_wm.sh togglebar
$icon_bth Bluetooth $_bt_icon^1^doas sxmo_bluetoothtoggle.sh && sxmo_hook_statusbar.sh bluetooth
$icon_clk Change Timezone^1^sxmo_timezonechange.sh
$icon_zzz Auto-suspend $_susp_icon^1^(rm ${XDG_CACHE_HOME:-$HOME/.cache}/sxmo/sxmo.nosuspend 2>/dev/null || touch ${XDG_CACHE_HOME:-$HOME/.cache}/sxmo/sxmo.nosuspend)
Binary file not shown.
@@ -67,7 +67,6 @@ case "$WMCLASS" in
CHOICES="
$icon_aru Brightness ^ 1 ^ sxmo_brightness.sh up
$icon_ard Brightness ^ 1 ^ sxmo_brightness.sh down
$icon_cfg Toggle Bar ^ 0 ^ sxmo_wm.sh togglebar
$icon_bth Bluetooth $(
bt_is_unblocked &&
printf %b "$icon_ton" || printf %b "$icon_tof";
Binary file not shown.
-2
View File
@@ -2490,8 +2490,6 @@ open_builtin_menu(const char *menu_name, int keep_idx)
add_menu_item(label, "@toggle:bright_up", 1);
snprintf(label, sizeof(label), "%s Brightness", ICON_ARD);
add_menu_item(label, "@toggle:bright_down", 1);
snprintf(label, sizeof(label), "%s Toggle Bar", ICON_CFG);
add_menu_item(label, "sxmo_wm.sh togglebar", 0);
snprintf(label, sizeof(label), "%s Bluetooth %s", ICON_BTH, bt_is_unblocked_fast() ? ICON_TON : ICON_TOF);
add_menu_item(label, "@toggle:bluetooth", 1);