diff --git a/src/content/css/settings.css b/src/content/css/settings.css index 997fb06..f6a3edd 100644 --- a/src/content/css/settings.css +++ b/src/content/css/settings.css @@ -60,6 +60,7 @@ body::-webkit-scrollbar-thumb { * { font-family: "Whitney", sans-serif; + box-sizing: border-box; cursor: default; } @@ -78,13 +79,6 @@ p { border-color: var(--background-floating); border-style: solid; } -.saveBar { - position: fixed; - bottom: 20px; - font-weight: bold; - z-index: 999; - font-size: 10px; -} .header { color: var(--header-primary); font-size: 1.5em; @@ -124,11 +118,6 @@ p { transform: translateX(50%); float: right; } -.advancedText { - color: var(--header-primary); - font-size: 1.5em; - font-weight: bold; -} /*buttons*/ button { background: var(--brand-experiment); @@ -137,7 +126,6 @@ button { border: none; border-radius: 5px; padding: 8px; - margin-top: 10px; transition: 0.17s ease; } button:hover { @@ -250,11 +238,14 @@ select { outline: none !important; } .acTheme { - height: 15em !important; + height: 14em !important; } .acCSP { height: 10em !important; } +.acTray { + height: 8em !important; +} .acPatches { height: 10em !important; } @@ -277,5 +268,5 @@ select { height: 10em !important; } .acTray { - height: 7em !important; + height: 8em !important; } diff --git a/src/menu.ts b/src/menu.ts index f049369..9ca3962 100644 --- a/src/menu.ts +++ b/src/menu.ts @@ -20,23 +20,10 @@ export async function setMenu() { } }) }) - mainWindow.on("show", function () { - console.log("[Window state manager] Show") - mainWindow.focus() - globalShortcut.register("CmdOrCtrl+V", function () { - if (mainWindow.isFocused()) { - paste(mainWindow.webContents) - } - }) - }) mainWindow.on("blur", function () { console.log("[Window state manager] Defocus") globalShortcut.unregister("CmdOrCtrl+V") }) - mainWindow.on("hide", function () { - console.log("[Window state manager] Hide") - globalShortcut.unregister("CmdOrCtrl+V") - }) } var template: Electron.MenuItemConstructorOptions[] = [{ label: "ArmCord", diff --git a/src/settings/hummus.html b/src/settings/hummus.html deleted file mode 100644 index 786dc22..0000000 --- a/src/settings/hummus.html +++ /dev/null @@ -1,196 +0,0 @@ - - -
- -- ArmCord CSP is our system that manages loading custom content loading into the Discord app. Stuff like - client mods and themes depend on it. Disable if you want to get rid of mods and custom styles. -
-- When disabled, ArmCord will close like any other window when closed, otherwise it'll sit back and relax - in your system tray for later. -
-- Fetches automatic patches that are distributed if release turns out to have bugs after release. Usually - you don't have to keep this enabled, unless notified in support Discord. -
-- If you're on Gnome on Linux or just simply can't paste images copied from other messages, then this is - for you. This enables alternative module for pasting images. Only enable this when you're experiencing - issues. -
-Discord channel:
-
- You can use this setting to change current instance of Discord:
-
- Stable - you're probably most familiar with this one. It's the one you see in default Discord
- client!
-
- Canary - this is alpha test release of Discord. By using it you gain access to newest
- features and fixes.
-
- PTB - public test build. Gets features earlier than stable but is a bit older than Canary.
-
- Hummus - unofficial instance of Discord that takes you back to 2016! None of the client mods
- bundled with ArmCord work with it. It's run by community, so you take all the risk by using it.
-
- Client mod for Hummus that focuses on making the plugin development experience easier. Minimal, light, - and easy to use -
-Performance mode:
-- Performance mode is an experimental function that may either increase responsiveness and performance of - ArmCord or... decrease it. Please try every option and see which fits you the best. -
-Tray icon:
-Set the icon which will appear in tray menu.
-