Get outputs on start. Create dock window for every output.
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <i3/ipc.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ev.h>
|
||||
@ -17,6 +18,8 @@ int main(int argc, char **argv) {
|
||||
|
||||
subscribe_events();
|
||||
|
||||
i3_send_msg(I3_IPC_MESSAGE_TYPE_GET_OUTPUTS, NULL);
|
||||
|
||||
ev_loop(main_loop, 0);
|
||||
|
||||
ev_default_destroy();
|
||||
|
Reference in New Issue
Block a user