mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-22 09:29:24 +01:00
This commit abstracts the theme-related code from komorebi-bar into a separate library which is now also consumed by komorebi. The static configuration file for komorebi has been updated to allow users to specify themes and provide palette overrides for various border styles and stackbar configuration options. In the event that both a theme and border-specific and/or stackbar-specific colours have been specified, the theme will take priority to make it as easy as possible for users who have already spent time tweaking their colours to try out themes and quickly revert back if they prefer their existing colours. This change makes it easier for users to have unified themes between komorebi and the komorebi status bar.
51 lines
1.3 KiB
TOML
51 lines
1.3 KiB
TOML
[workspace]
|
|
|
|
resolver = "2"
|
|
members = [
|
|
"komorebi",
|
|
"komorebi-client",
|
|
"komorebi-gui",
|
|
"komorebic",
|
|
"komorebic-no-console",
|
|
"komorebi-bar"
|
|
, "komorebi-themes"]
|
|
|
|
[workspace.dependencies]
|
|
color-eyre = "0.6"
|
|
dirs = "5"
|
|
dunce = "1"
|
|
schemars = "0.8"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { package = "serde_json_lenient", version = "0.2" }
|
|
serde_yaml = "0.9"
|
|
sysinfo = "0.30"
|
|
uds_windows = "1"
|
|
win32-display-data = { git = "https://github.com/LGUG2Z/win32-display-data", rev = "32a45cebf132c3d651ee22c0c40033a6b7edc945" }
|
|
windows-implement = { version = "0.53" }
|
|
windows-interface = { version = "0.53" }
|
|
shadow-rs = "0.34"
|
|
|
|
[workspace.dependencies.windows]
|
|
version = "0.54"
|
|
features = [
|
|
"implement",
|
|
"Win32_System_Com",
|
|
"Win32_UI_Shell_Common", # for IObjectArray
|
|
"Win32_Foundation",
|
|
"Win32_Graphics_Dwm",
|
|
"Win32_Graphics_Gdi",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_RemoteDesktop",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_Accessibility",
|
|
"Win32_UI_HiDpi",
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|
"Win32_UI_Shell",
|
|
"Win32_UI_Shell_Common",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
"Win32_System_SystemServices",
|
|
"Win32_System_WindowsProgramming",
|
|
"Media",
|
|
"Media_Control"
|
|
]
|