Remove unnecessary imports,

Add some translations
This commit is contained in:
月月
2024-10-01 22:40:55 +08:00
parent ed9bcd7664
commit 10b3ead8b3
23 changed files with 44 additions and 46 deletions
@@ -7,7 +7,6 @@ const { execAsync, exec } = Utils;
import { MaterialIcon } from '../../.commonwidgets/materialicon.js';
import { setupCursorHover } from '../../.widgetutils/cursorhover.js';
import { ConfigGap, ConfigSpinButton, ConfigToggle } from '../../.commonwidgets/configwidgets.js';
import { getString } from '../../../i18n/i18n.js';
const HyprlandToggle = ({ icon, name, desc = null, option, enableValue = 1, disableValue = 0, extraOnChange = () => { } }) => ConfigToggle({
icon: icon,