mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-06-09 04:02:45 +02:00
feat(wm): add theme socket message
This commit adds a new SocketMessage::Theme which allows for themes to be set programmatically. This change has also been plumbed through to komorebi-bar so that the bar theme will also update after komorebi processes the message and passes it on to subscribers. A new theme_manager module has been introduced to add notification-based handling of theme changes, both from the static config file being updated and from SocketMessage::Theme being received.
This commit is contained in:
+5
-5
@@ -579,7 +579,7 @@
|
||||
}
|
||||
},
|
||||
"focus_follows_mouse": {
|
||||
"description": "Determine focus follows mouse implementation (default: None)",
|
||||
"description": "END OF LIFE FEATURE: Determine focus follows mouse implementation (default: None)",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "A custom FFM implementation (slightly more CPU-intensive)",
|
||||
@@ -1052,11 +1052,11 @@
|
||||
"format": "int32"
|
||||
},
|
||||
"custom_layout": {
|
||||
"description": "Custom Layout (default: None)",
|
||||
"description": "END OF LIFE FEATURE: Custom Layout (default: None)",
|
||||
"type": "string"
|
||||
},
|
||||
"custom_layout_rules": {
|
||||
"description": "Layout rules (default: None)",
|
||||
"description": "END OF LIFE FEATURE: Custom layout rules (default: None)",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
@@ -1751,7 +1751,7 @@
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"description": "Name of the Catppuccin theme",
|
||||
"description": "Name of the Catppuccin theme (theme previews: https://github.com/catppuccin/catppuccin)",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Frappe",
|
||||
@@ -2035,7 +2035,7 @@
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"description": "Name of the Base16 theme",
|
||||
"description": "Name of the Base16 theme (theme previews: https://tinted-theming.github.io/base16-gallery)",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"3024",
|
||||
|
||||
Reference in New Issue
Block a user