PaperWM
PaperWM copied to clipboard
Scroll windows with mouse wheel
How about a new feature of scrolling Windows(the same which I assume is now happening when scrolling with three fingers on the touchpad on Wayland) but when scrolling with the mouse wheel in the top bar?
I think it will greatly improve the usability of PaperWM when using only mouse.
Yeah, it could be nice. @olejorgenb made a prototype here https://github.com/paperwm/PaperWM/issues/113
The main issue is how it interacts with other elements that reacts to scroll in the topbar, eg. the workspace/activities button and the volume icon.
I've also been playing with showing all windows to the left/right, when interacting with the monitor edges.
Was about to make a new issue for something similar.
My personal preference (which might suit someone) is:
- Using topbar to scroll workspace only (with this extension)
- And hold meta down to scroll windows left/right with mouse scroll wheel.
It would be great to have point 1 integrated. And point 2 might be a good compromise?
Another idea perhaps could be using "pressure" edge activation; the user mouses over to an edge and after using pressure movement (as in how the standard overview hotcorner works) triggers scrolling in that direction proportional to mouse movement. And it deactivates when they mouse away from it.
The pressure thing would be a requirement due to window scrollbars.
Using topbar to scroll workspace only
We support scrolling on the workspace name to change workspace.
And hold meta down to scroll windows left/right with mouse scroll wheel.
Yeah, we'd like to do this, but it's unfortunately not supported by gnome-shell/mutter: https://gitlab.gnome.org/GNOME/mutter/issues/207
Some sort of pressure thing could work (the reactive edge could for instance react to scroll-events).
Using topbar to scroll workspace only
We support scrolling on the workspace name to change workspace.
Yeah I see that. Unfortunately it requires mousing alllll the way over there, and on an ultrawide (where this extension really shines) that can be tiring.
And hold meta down to scroll windows left/right with mouse scroll wheel.
Yeah, we'd like to do this, but it's unfortunately not supported by gnome-shell/mutter: https://gitlab.gnome.org/GNOME/mutter/issues/207
Bugger, that's unfortunate
Yeah I see that. Unfortunately it requires mousing alllll the way over there, and on an ultrawide (where this extension really shines) that can be tiring.
Right, I can see that's a use-case. Will keep it in mind :)
Man, the mouse would be awesome. Shame about that binding modifier issue! This extension is incredible btw, replaced my using i3. Very well done.
Any news?
I found a way to enable scrolling through windows with super + scroll wheel with my user.js: https://github.com/christopher-l/dotfiles/blob/329fa77a1f37069696951c122e9eb3722a39de48/config/paperwm/user.js#L37-L91
I found a way to enable scrolling through windows with super + scroll wheel with my
user.js: https://github.com/christopher-l/dotfiles/blob/329fa77a1f37069696951c122e9eb3722a39de48/config/paperwm/user.js#L37-L91
Very cool! I've recently added workspace swapping on monitors (#588). I like the keybinds for just moving a workspace (and having the previously selected workspace on that monitor.
I might add official support for "moving" workspaces.
I'd also accept a PR for adding scrolling windows with mouse wheel (maybe as a toggleable option).
Nice work!