forked from Shinonome/dots-hyprland
settings: add ws number map presets
This commit is contained in:
@@ -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: '["一","二","三","四","五","六","七","八","九","十"]'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user