sidebar: remove settings button

since gnome-control-center is really broken outside gnome
This commit is contained in:
end-4
2024-08-15 20:32:39 +07:00
parent f8bee78014
commit 1abe019718
2 changed files with 1 additions and 16 deletions
@@ -224,19 +224,6 @@ export const ModuleIdleInhibitor = (props = {}) => Widget.Button({ // TODO: Make
...props,
});
export const ModuleEditIcon = (props = {}) => Widget.Button({ // TODO: Make this work
...props,
className: 'txt-small sidebar-iconbutton',
onClicked: () => {
execAsync(['bash', '-c', 'XDG_CURRENT_DESKTOP="gnome" gnome-control-center', '&']);
App.closeWindow('sideright');
},
child: MaterialIcon('edit', 'norm'),
setup: button => {
setupCursorHover(button);
}
})
export const ModuleReloadIcon = (props = {}) => Widget.Button({
...props,
className: 'txt-small sidebar-iconbutton',