i3-workspace-names-daemon icon indicating copy to clipboard operation
i3-workspace-names-daemon copied to clipboard

Feature request: allow some static workspace names

Open eater opened this issue 5 years ago • 1 comments

I'd like to keep a few of my workspaces with names I give them, like "1: work", "4: pics", and use this daemon to dynamically name all the workspaces that aren't on that exceptions list, which I could configure in the config file. Possible?

eater avatar Apr 06 '20 19:04 eater

Hello, I just looked into this. there is a single line to be changed, I changed it here https://github.com/CastixGitHub/i3-workspace-names-daemon/commit/986ee65a7132854235228862259ccc7935fcb1a5#diff-2f1824e92c1a5b4d944c82038f257be7R195 I noticed it reaching 100% coverage, writing this test https://github.com/CastixGitHub/i3-workspace-names-daemon/commit/986ee65a7132854235228862259ccc7935fcb1a5#diff-44c2c318351d9fcd29d696cbd1a4b0f0R135

so, you will also need to put something like this

bindsym $mod+i workspace i: work

in your i3 config file in order to create a named workspace currently it this script does not take exceptions, it takes into consideration all numbered workspaces

so you can try to either use my fork (pytest branch), wait until this gets merged or fix the line yourself

CastixGitHub avatar Jun 19 '20 21:06 CastixGitHub