Skip to content

Clients Don't Remember Workspace #1526

Answered by cbf305
AmeerTaweel asked this question in Q&A
Discussion options

You must be logged in to vote

Here from the Reddit post...

You can somewhat achieve this with rules. It will take a little effort and it's not a perfect match to what you are after, but it should get you close.

You can chain a one time use rule with spawn. Let's say you want to launch a terminal on tag X. You could do so with (where "terminal" is your terminal of choice):

herbstclient chain . rule once tag=X . spawn terminal

Once the terminal launches on tag X, the rule is gone. So you could add rules like these at the end of your autostart to load stuff when you login. You can even add the focus=on and/or switchtag=on parameters to the rule to automatically switch to tag X, launch the program and then focus it. The p…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@AmeerTaweel
Comment options

@wimstefan
Comment options

Answer selected by AmeerTaweel
Comment options

You must be logged in to vote
4 replies
@AmeerTaweel
Comment options

@etosan
Comment options

@AmeerTaweel
Comment options

@bew
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants