Static workspaces
Is there a way to use static workspaces? Like if I wanted to have X number of workspaces that are always visable regardless if a client is on it or not?
add a comment
Is there a way to use static workspaces? Like if I wanted to have X number of workspaces that are always visable regardless if a client is on it or not?
Apparently, this functionality is something which has been discussed quite often and has been rejected. I presume the following might work though:
diff --git a/src/workspace.c b/src/workspace.c
index 17f5ac3..64ec8c3 100644
--- a/src/workspace.c
+++ b/src/workspace.c
@@ -443,7 +443,7 @@ static void _workspace_show(Con *workspace) {
con_focus(next);
ipc_send_workspace_focus_event(workspace, current);
-
+#if 0
DLOG("old = %p / %s\n", old, (old ? old->name : "(null)"));
/* Close old workspace if necessary. This must be done *after* doing
* urgency handling, because tree_close() will do a con_focus() on the next
@@ -458,7 +458,7 @@ static void _workspace_show(Con *workspace) {
ipc_send_event("workspace", I3_IPC_EVENT_WORKSPACE, "{\"change\":\"empty\"}");
}
}
-
+#endif
workspace->fullscreen_mode = CF_OUTPUT;
LOG("focused now = %p / %s\n", focused, focused->name);
I'll give it a shot, if it doesn't work its no big deal.
Asked: 2013-06-27 19:36:10 +0000
Seen: 488 times
Last updated: Jun 27 '13