From 36003fe73f5214fc91df7df66f46d4e3e004f591 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 16 Nov 2023 15:43:39 +0000 Subject: [PATCH] theme list updated. themes section added to readme version bumped to 0.5.7b1 Issue #19 --- README.md | 12 +++++++++--- pyproject.toml | 2 +- src/nvda_voicemeeter/util.py | 37 ++++++++++++++++++++++-------------- 3 files changed, 33 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 52cc439..715928c 100644 --- a/README.md +++ b/README.md @@ -131,9 +131,11 @@ For Gate BP Sidechain, Attack, Hold, Release you may use: To reset a slider back to its default value you may use `Control + Shift + R`. -#### `Menu` +### Menu -A single menu item `Voicemeeter` can be opened using `Alt` and then `v`. The menu allows you to: +#### `Voicemeeter` + +The `Voicemeeter` menu can be opened using `Alt` and then `v`. It offers the following options: - Restart Voicemeeter audio engine - Save/Load current settings (as an xml file) @@ -143,7 +145,11 @@ The `Save Settings` option opens a popup window with two buttons, `Browse` and ` `Load Settings` and `Load on Startup` both open an Open dialog box immediately. -### `Quick access binds` +#### `Themes` + +The `Themes` menu can be opened using `Alt` and then `t`. Use this menu to select from a list of coloured themes. Some themes offer higher contrast colours. An application restart is required to load a new theme. Once a theme is selected it will become the default for future startups. + +### Quick access binds There are a number of quick binds available to assist with faster navigation and general use. diff --git a/pyproject.toml b/pyproject.toml index 2cbc39e..d844a70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nvda_voicemeeter" -version = "0.5.7a1" +version = "0.5.7b1" description = "A Voicemeeter app compatible with NVDA" authors = [ { name = "onyx-and-iris", email = "code@onyxandiris.online" }, diff --git a/src/nvda_voicemeeter/util.py b/src/nvda_voicemeeter/util.py index 46305b9..4e27ac1 100644 --- a/src/nvda_voicemeeter/util.py +++ b/src/nvda_voicemeeter/util.py @@ -1,5 +1,7 @@ from typing import Iterable +import PySimpleGUI as psg + def get_asio_input_spinbox_index(channel, num) -> int: if channel == 0: @@ -199,17 +201,24 @@ def _get_bus_assignments(kind) -> list: def get_themes_list() -> list: - return sorted( - [ - "Black", - "Dark Blue", - "Dark Blue 3", - "Reddit", - "Light Gray 1", - "Bright Colors", - "Dark Amber", - "Light Grey 5", - "Reds", - "Dark Brown 5", - ] - ) + return [ + "Bright Colors", + "Dark Blue 14", + "Dark Brown 2", + "Dark Brown 3", + "Dark Green 2", + "Dark Grey 2", + "Dark Teal1", + "Dark Teal6", + "Kayak", + "Light Blue 2", + "Light Brown 2", + "Light Brown 5", + "Light Green", + "Light Green 3", + "Light Grey 2", + "Light Purple", + "Neutral Blue", + "Reds", + "Sandy Beach", + ]