diff options
author | Thomas Letan <lthms@soap.coffee> | 2022-10-02 13:07:54 +0200 |
---|---|---|
committer | Thomas Letan <lthms@soap.coffee> | 2022-10-02 13:07:54 +0200 |
commit | 790af5e9a85cd9ac8c04d08436a575e01fba6e7e (patch) | |
tree | a98cf0c05d50eda9edb68fb3bbe8029dce752e23 | |
parent | Ignore .install files (diff) |
Signal waybar before rearranging windows
-rw-r--r-- | bin/spatial/main.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/spatial/main.ml b/bin/spatial/main.ml index 64b5c2e..183e4ae 100644 --- a/bin/spatial/main.ml +++ b/bin/spatial/main.ml @@ -97,9 +97,9 @@ let rec go poll state sway_socket server_socket = (state, arrange, force_focus)) in if arrange then ( - State.arrange_current_workspace ?force_focus state; (* TODO: Be more configurable about that *) - ignore (Jobs.shell "/usr/bin/pkill -SIGRTMIN+8 waybar")); + ignore (Jobs.shell "/usr/bin/pkill -SIGRTMIN+8 waybar"); + State.arrange_current_workspace ?force_focus state); Poll.clear poll; go poll state sway_socket server_socket with Unix.Unix_error (EINTR, _, _) -> |