Skip to content

Add floating status support and visual indicator#62

Open
rafasaurus wants to merge 1 commit intokolunmi:mainfrom
rafasaurus:main
Open

Add floating status support and visual indicator#62
rafasaurus wants to merge 1 commit intokolunmi:mainfrom
rafasaurus:main

Conversation

@rafasaurus
Copy link

  • Implement IPC floating event handler to track client state
  • Wrap window title in '**' when the active client is floating

This PR adds support for the floating event from the dwl-ipc-unstable-v2 protocol. It allows dwlb to track whether the currently focused client is in floating mode and provides a visual indicator in the bar.

UI Enhancement, I modified the title drawing logic in draw_frame to wrap the window title with ** (e.g., title) when the client is floating, providing immediate visual feedback. Personally i find this very useful, because sometimes you accidentally toggle window to floating mode and you don't know until you shuffle dwl UI stack.

- Implement IPC floating event handler to track client state
- Wrap window title in '**' when the active client is floating
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant