mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1399] Apply state socketmessage #1382
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/1399
Author: @pro470
Created: 4/4/2025
Status: 🔄 Open
Base:
master← Head:apply-state-socketmessage📝 Commits (3)
3fb4460fix(wm): ensure workspaces count when apply the state20aed58feat(wm): make the monitor workspaces the exact same length as the state Monitor workspaces5e2cddcfeat(wm): opening the apply state function as a socketmessage for the first lower level command📊 Changes
5 files changed (+18 additions, -6 deletions)
View changed files
📝
komorebi-bar/src/bar.rs(+1 -1)📝
komorebi-bar/src/main.rs(+2 -2)📝
komorebi/src/core/mod.rs(+3 -0)📝
komorebi/src/process_command.rs(+3 -0)📝
komorebi/src/window_manager.rs(+9 -3)📄 Description
This is an attempt at a maybe low-level socket which could be helpful for a client connecting to komorebi.
It opens the ability to modify the data, but only needs one update, which means we only lock per display.
This is good for people wanting to configure komorebi with a scripting language. They can create a state and only send one state to komorebi for applying, which should be faster than using the socket message available right now.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.