From b14a5b3dd94739a7a585c65b1a64b4ad3e3da7b6 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 23 Oct 2025 23:32:11 +0200 Subject: [PATCH] settings: add ws number map presets --- .../ii/modules/settings/BarConfig.qml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/dots/.config/quickshell/ii/modules/settings/BarConfig.qml b/dots/.config/quickshell/ii/modules/settings/BarConfig.qml index e12e51291..336410177 100644 --- a/dots/.config/quickshell/ii/modules/settings/BarConfig.qml +++ b/dots/.config/quickshell/ii/modules/settings/BarConfig.qml @@ -305,5 +305,28 @@ ContentPage { Config.options.bar.workspaces.showNumberDelay = value; } } + + ContentSubsection { + title: Translation.tr("Number style") + + ConfigSelectionArray { + currentValue: JSON.stringify(Config.options.bar.workspaces.numberMap) + onSelected: newValue => { + Config.options.bar.workspaces.numberMap = JSON.parse(newValue) + } + options: [ + { + displayName: Translation.tr("Normal"), + icon: "timer_10", + value: '["1","2","3","4","5","6","7","8","9","10"]' + }, + { + displayName: Translation.tr("Japanese"), + icon: "square_dot", + value: '["一","二","三","四","五","六","七","八","九","十"]' + } + ] + } + } } }