mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2024-11-15 17:40:52 +00:00
Update app.py
using path to resolve themes dir
This commit is contained in:
parent
987a4d8ecb
commit
25d7ac1832
@ -106,7 +106,10 @@ class App(tk.Tk):
|
|||||||
|
|
||||||
def apply_theme(self):
|
def apply_theme(self):
|
||||||
_base_vals.using_theme = True
|
_base_vals.using_theme = True
|
||||||
self.tk.call("source", "./vmcompact/sun-valley-theme/sun-valley.tcl")
|
self.tk.call(
|
||||||
|
"source",
|
||||||
|
Path(__file__).parent.resolve() / "sun-valley-theme/sun-valley.tcl",
|
||||||
|
)
|
||||||
self.tk.call("set_theme", self.configuration["theme"]["mode"])
|
self.tk.call("set_theme", self.configuration["theme"]["mode"])
|
||||||
|
|
||||||
def _make_app(self, kind, vban=None):
|
def _make_app(self, kind, vban=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user