feat(fillbar): bouton Settings sur la barrette (icone roue ou texte), reglable comme les autres

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
r-zakarya
2026-09-18 11:14:41 +01:00
parent c809f4e4c5
commit ba06d4584e
3 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -6703,7 +6703,7 @@ function fillBarRequest() {
if (Bridge.active) window.location.href = 'cmd://fillbar/get';
}
Bridge.onFillBar = function (st) {
const keys = (st.buttons || 'full,pwd,totp,add,search,open').split(',');
const keys = (st.buttons || 'full,pwd,totp,add,search,open,settings').split(',');
$('#fbOn').checked = !!st.on;
$$('.fb-btn').forEach(c => { c.checked = keys.includes(c.dataset.key); });
$('#fbStyle').value = st.icons ? 'icons' : 'text';