bind apps to the specific workspace #462

Closed
ghost opened this Issue Jan 23, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@ghost

ghost commented Jan 23, 2016

Hello!
I tried to use : "workspace 1; exec /usr/bin/app_to_start" as in the i3, but no result. If there is no mistake above, please add the function of binding specific apps to workspaces. Thx.

@SirCmpwn

This comment has been minimized.

Show comment
Hide comment
@SirCmpwn

SirCmpwn Jan 23, 2016

Member

Blocked by the lack of a means to get the pid of the client given a wlc_handle. cc @Cloudef

Member

SirCmpwn commented Jan 23, 2016

Blocked by the lack of a means to get the pid of the client given a wlc_handle. cc @Cloudef

@Cloudef

This comment has been minimized.

Show comment
Hide comment
@Cloudef

Cloudef Jan 23, 2016

I'll add wlc_view_get_client to wlc-wayland.h, you can then use wl_client* functions from "wayland-server-core.h" which includes wl_client_get_credentials.

Cloudef commented Jan 23, 2016

I'll add wlc_view_get_client to wlc-wayland.h, you can then use wl_client* functions from "wayland-server-core.h" which includes wl_client_get_credentials.

@SirCmpwn

This comment has been minimized.

Show comment
Hide comment
@SirCmpwn

SirCmpwn Jan 23, 2016

Member

Sounds good to me, @Cloudef.

Member

SirCmpwn commented Jan 23, 2016

Sounds good to me, @Cloudef.

@SirCmpwn

This comment has been minimized.

Show comment
Hide comment
@SirCmpwn

SirCmpwn Jan 23, 2016

Member

wlc has support for this, so now we should be able to track pids of windows that we open and assign them to the workspace that was visible when they were invoked.

Member

SirCmpwn commented Jan 23, 2016

wlc has support for this, so now we should be able to track pids of windows that we open and assign them to the workspace that was visible when they were invoked.

deathlyfrantic referenced this issue in deathlyfrantic/sway Jun 6, 2016

SirCmpwn added a commit that referenced this issue Jun 11, 2016

@deathlyfrantic deathlyfrantic referenced this issue in Cloudef/wlc Jul 29, 2016

Merged

implement wlc_view_get_pid() #177

@SirCmpwn SirCmpwn closed this Sep 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment