Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curstom workspace style in swaytaskbar #42

Closed
tmarti2 opened this issue Mar 24, 2021 · 6 comments · Fixed by #44
Closed

Curstom workspace style in swaytaskbar #42

tmarti2 opened this issue Mar 24, 2021 · 6 comments · Fixed by #44

Comments

@tmarti2
Copy link

tmarti2 commented Mar 24, 2021

Hi,
I'm trying to configure my bar so it looks like my waybar, but I'm having some trouble figuring out how to do it.
image

the top one is made with your application, and the other one with waybar.
In waybar I have :
Workspaces (focused workspace in blue) - Focused window's title
and with yours :
Workspace 1 - all windows' titles - Workspace 2
At the moment I don't really care about margins etc, I'm juste trying to get everything else to work.
So is it possible, via the css file, to do something like this ?
I tried few things but nothing worked so far.
Thanks

@nwg-piotr
Copy link
Owner

There's no module to show just the focused window title. It would be easy to develop, but a bit useless, as we have the SwayTaskbar module. You can configure what to show in it:

  • windows from all outputs / from current output
  • from all workspaces / from active workspace

If it comes to the SwayWorkspaces module: it displays just static buttons, since I saw no actual need to have such a module at all. :) Now I changed my mind: it may be useful when you don't use the taskbar module. I'll add some pointer to indicate which workspace we're currently on soon, as I need it to get comfortable with the sway dock I'm currently working on.

@tmarti2
Copy link
Author

tmarti2 commented Mar 24, 2021

Ok thanks, I'll leave it like this for now.

@nwg-piotr
Copy link
Owner

nwg-piotr commented Mar 25, 2021

Hope you'll like it (top left corner). By the way it goes well with the dock.

2021-03-25-052353_screenshot.png

@nwg-piotr nwg-piotr linked a pull request Mar 25, 2021 that will close this issue
nwg-piotr added a commit that referenced this issue Mar 25, 2021
SwayWorkspaces: use active labels instead of buttons #42
nwg-piotr added a commit that referenced this issue Mar 25, 2021
nwg-piotr added a commit that referenced this issue Mar 25, 2021
Workspaces: added optional active window name display #42
@nwg-piotr
Copy link
Owner

Seems to work well. Merged into master, but a release must wait till I wake up. It's 5:30 am. :)

nwg-piotr added a commit that referenced this issue Mar 25, 2021
@nwg-piotr
Copy link
Owner

Sorry for the delay: when running from PyCharm, it happened to die silently several times, with no obvious reason. It needs some more testing.

@tmarti2
Copy link
Author

tmarti2 commented Mar 26, 2021

Np 👌

nwg-piotr added a commit that referenced this issue Mar 27, 2021
Workspaces: mark non-empty, mark autotiling, show active con parent layout #42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants