forked from Shinonome/dots-hyprland
sideright: wifi icon open app instead of use tab
This commit is contained in:
@@ -15,8 +15,9 @@ export const ToggleIconWifi = (props = {}) => Widget.Button({
|
|||||||
className: 'txt-small sidebar-iconbutton',
|
className: 'txt-small sidebar-iconbutton',
|
||||||
tooltipText: 'Wifi | Right-click to configure',
|
tooltipText: 'Wifi | Right-click to configure',
|
||||||
onClicked: () => Network.toggleWifi(),
|
onClicked: () => Network.toggleWifi(),
|
||||||
onSecondaryClick: () => {
|
onSecondaryClickRelease: () => {
|
||||||
sidebarOptionsStack.focusName('Wifi networks')
|
execAsync(['bash', '-c', `${userOptions.apps.network}`]).catch(print);
|
||||||
|
closeEverything();
|
||||||
},
|
},
|
||||||
child: NetworkIndicator(),
|
child: NetworkIndicator(),
|
||||||
setup: (self) => {
|
setup: (self) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user