Closed 33KK closed 1 year ago
You can most probably do this through a few simple scripts :)
You can most probably do this through a few simple scripts :)
Not nearly as convenient and easy, and bar-specific setup necessary, which isn't even possible on swaybar I think
Workspaces visible on the bar can be done in waybar: https://github.com/Alexays/Waybar/blob/master/man/waybar-sway-workspaces.5.scd#L63-L67
Think I'm gonna close this issue as not planned, the waybar config info I sent should get you the visual changes you wanted, and it'd be trivial to make a script that increments / decrements your workspace and is invoked via a keybind from your sway config. Generally we don't implement features that could be done in the ipc, but I really appreciate the request! Hopefully you're able to get the functionality you want
I have actually implemented this already, trying to get it merged into upstream sway, but it probably will get rejected. If this doesn't get merged anywhere I'll just keep it as a fork https://github.com/swaywm/sway/pull/7631
Please fill out the following:
workspace next
command. Also I find it much more visually intuitive to have all workspaces always visible on the bar, as I do not need to parse the number to understand which workspace it is.I suggest to simply add a command like this:
And create the workspace on config load and NOT destroy it when it is empty.
i3 (https://github.com/i3/i3/issues/1902#issuecomment-138110166) and therefore sway (https://github.com/swaywm/sway/issues/7220 & https://github.com/swaywm/sway/issues/4928#issuecomment-1066073480) refuse to add this for "look & feel" reasons or something, the i3bar-specific "solution" implemented by i3 is not implemented by sway (https://github.com/swaywm/sway/issues/7419)