berry
berry copied to clipboard
Is there interest in next/previous desktop functionality?
Hiya, loving berry to bits - such a lovely Unix experience. I'm also the new KISS Linux maintainer for the package. 🙂
I've written a simple shell script that allows me to switch desktops or switch+move windows to the next/previous desktop, with wraparound. Is there any interest in adding this functionality to berry, or are you happy for it to stay as a scriptable addition?
I'm probably happy either way. On the one hand I like to keep the size of the project small in the interest of keeping berry
very unix-like. However, I also recognize that some functionality which is often used is more convenient to manage inside of berry
.
This should be a super quick implementation (I can't imagine this is more than like a 15-line change), so I'd be happy to add it.
There are some other potential options as well. We could consider adding a scripts directory (or perhaps a different repository) that contains commonly-used scripts that people can use. At that point, however, it's still just more stuff to maintain and might be better suited to be a berry
feature itself.
I'd be happy if you added it, I think it's a worthwhile addition, and especially if it's that small. I do feel the draw of keeping the codebase as simple as possible! I guess a reason for adding it, even though it can be trivially scripted, is to mirror the window focus switching command - it feels like a similar sort of functionality.
I'm also happy to add that script to a repository, but I agree that it's always easier maintaining as little as possible!
I have modified my local version to add "switch_ws_relative" and "send_to_ws_relative" to berryc, the changes are in here if you are interested :)
https://github.com/hatcatpat/dotfiles/tree/master/black/custom_berry
Ah a feature i really need. Sooo... \o/ New branch \o/
I tried to keep it as simple as i could. Implemented the following options
berryc next_workspace
berryc prev_workspace
berryc cycle_workspace true/false
*more detail in the manpages of the brach