forked from Shinonome/dots-hyprland
wifi: right click -> configure with sidebar
This commit is contained in:
@@ -268,6 +268,12 @@ export const ExpandingIconTabContainer = ({
|
||||
mainBox.nextTab = () => shownIndex.value = Math.min(shownIndex.value + 1, count - 1);
|
||||
mainBox.prevTab = () => shownIndex.value = Math.max(shownIndex.value - 1, 0);
|
||||
mainBox.cycleTab = () => shownIndex.value = (shownIndex.value + 1) % count;
|
||||
mainBox.focusName = (name) => {
|
||||
const focusIndex = names.indexOf(name);
|
||||
if (focusIndex !== -1) {
|
||||
shownIndex.value = focusIndex;
|
||||
}
|
||||
}
|
||||
mainBox.shown = shownIndex;
|
||||
|
||||
return mainBox;
|
||||
|
||||
Reference in New Issue
Block a user