6 ms·
Papersway – a scrollable window management for Sway/i3wm
- nisten 2y ago[flagged]
- Coolbeanstoo 2y agoThe demo video here is quite convincing, I'd seen paperwm before but not really understood the idea of it. May add this to my sway setup :)
- christophilus 2y agoNiri is my current daily driver. I absolutely love it. Edit: I realize this isn’t about Niri, but it’s basically Niri on i3.
- 3np 2y agoCool project! Feedback: I highly suggest a project rename to something that does not have "sway" in the name. Reading the source it seems like it actully has no dependency, API compatibility, or direct interaction with either Sway, i3, or PaperWM? Sway and i3 just happen to be the most well-known tiling WMs of the hour. There are a bunch of other tiling WM which seem like they will work just fine with Papersway. The docs make it seem like it should only be expected to work with Sway and i3. The possibility is high that most users will not look beyond the "NAME" section before bouncing if they are not already using either of those two and also already familiar with PaperWM. Less urgently in the docs, it would be nice to be able to get an rough idea about what the project does and the "pitch" without having the reader research PaperWM first. Why define it strictly in terms of other projects? Why not be usable with other tiling WMs?
- complaintdept 2y ago> This is an implementation of PaperWM-like scrollable window management for Sway/i3wm. If you like Sway/i3wm’s commitments to stability, avoiding scope creep etc. but dislike the window management model, papersway might be of interest. Seems relevant.
- spwhitton 2y agoIt works by interacting with Sway's IPC API. (Or i3's IPC API.)
- eichin 2y agoIf you look at bin/papersway itself, my $wm_ipc_socket = $have_sway ? $ENV{SWAYSOCK} : $ENV{I3SOCK}; my $wmipc = AnyEvent::I3->new($wm_ipc_socket); $wmipc->connect->recv or die "couldn't connect to WM IPC socket"; (One of the reasons I moved from ratpoison to i3 in the first place was that i3 has this kind of interface, though usually I use i3-msg and jq directly. I'd be curious if there are others like it...)
- hkmaxpro 2y agoRelated projects (from niri’s README): PaperWM (Gnome) https://github.com/paperwm/PaperWM https://github.com/paperwm/PaperWM karousel (KDE) https://github.com/peterfajdiga/karousel https://github.com/peterfajdiga/karousel niri (wayland) https://github.com/YaLTeR/niri https://github.com/YaLTeR/niri hyprscroller (hyprland plugin) https://github.com/dawsers/hyprscroller https://github.com/dawsers/hyprscroller hyprslidr (hyprland plugin) https://gitlab.com/magus/hyprslidr https://gitlab.com/magus/hyprslidr PaperWM.spoon (MacOS) https://github.com/mogenson/PaperWM.spoon https://github.com/mogenson/PaperWM.spoon
- Zetaphor 2y agoI've become a really big fan of this model of window management after using Karousel on KDE for the last 3 months. This is especially useful if you're using a widescreen monitor. I never understood the appeal of tiling as 99% of the time I am focused on a single window at a time and I want it to take the full height of my display, so scrolling with the focused window centered is my ideal workflow. I only wish I had the ability to quickly toggle the side-by-side mode that is default with these for the occasional time I need to have a code editor next to my browser. If anyone knows if any of these supports that toggle, while also supporting the other key features I use in karousel (being able to shrink/expand the focused window with a hotkey), then I'd be willing to leave KDE to get that perfect workflow.
- ccakes 2y agohttps://news.ycombinator.com/item?id=39803702 https://news.ycombinator.com/item?id=39803702 This got pretty close to perfect for me
- dsissitka 2y agoIt sounds like we might have similar goals. https://news.ycombinator.com/item?id=41343002 https://news.ycombinator.com/item?id=41343002
- spwhitton 2y agopapersway has a toggle like that :)
- idle_zealot 2y agoWindow management has been stagnant so long. I have mixed feelings about the Paper paradigm, but it's heartening to see some work in the space experimenting with the bedrock UX for operating systems, and hope we can eventually move past the floating windows approach on desktop and clumsy swipe-between-apps approach on mobile.
- deagle50 2y agoAgreed. All I want is to manage OS windows the same way I manage Vim windows where the content and the container are decoupled. Surprised nobody has made this yet.
- ryukafalz 2y agoNot that you likely want to hear this as a Vim user, but I believe this is how EXWM works. Windows are displayed inside Emacs buffers, which are pretty decoupled from the windows they happen to be in. (But heck, with evil-mode maybe it'd feel pretty familiar?)
- deagle50 2y agoNo worries - I drove Doom for ~6 months and got fed up with the lag, and with Lisp. I have a wrapper for Yabai that places new windows into a predetermined number of containers and allows me to move them quickly. It works ok. I think Hyperland or i3/Sway could also be scripted to behave this way.
- cmrdporcupine 2y agoI tried exwm a couple times and the thing that got me everytime was that it was... ok... as a window manager... but actually made working with emacs as a text editor really uncomfortable. I'm talking keybindings overlap (or not), and buffer management generally. It got really confusing. (That and the single-threaded behaviour of emacs generally, freezing up etc)
- jbaber 2y agoRatpoison does this if I'm understanding correctly.
- deleted 2y ago[deleted]
- dsissitka 2y agoI do something similar with i3's built in horizontal tabs. A few terminals and a browser look like this: https://i.imgur.com/8vVNYno.png https://i.imgur.com/8vVNYno.png You can add or remove columns by moving a window past an edge: https://i.imgur.com/MlPR05b.png https://i.imgur.com/MlPR05b.png
- spwhitton 2y agoYeah, that's what I used to do, basically, before writing papersway. I was happy with it for many years.
- coppsilgold 2y agoI settled on a very simple approach to window management: workspaces. My sway setup has 20 workspaces on the main monitor and 10 for each other monitor. Most workspaces are dedicated to just a single window, some have more as is their purpose.
- globular-toast 2y agoI'm curious how you switch between workspaces. Do you give them names? I currently keep a mental list of what each workspace is for, but I still use the standard numbers 0-9.
- coppsilgold 2y agoI keep them as unnamed numbers and remember what I use each one for. I switch mostly with scrollwheel or directly with keyboard.
- WD-42 2y agoPaperwm is so good! Been daily driving it over a year. Cool to see it coming to sway.
- eichin 2y agohttps://www.youtube.com/watch?v=QifpqSiNSKA https://www.youtube.com/watch?v=QifpqSiNSKA is the author showing it off (since the visual aspect is kind of the whole point.) (The little window-layout section of the status bar is neat, but I get the "monocle" version of this with stock i3 with a lot less effort - `workspace_layout tabbed` and some key bindings :-)
- rrgok 2y agoIs there a solution like Paperwm for Windows? I've been looking for it quite some time...
- morsch 2y agoHow does it interact with two or more physical displays?
- Hackbraten 2y agoSway uses workspaces as virtual desktops. Every workspace is assigned to exactly one physical display at a time. Papersway, from what I’ve read on the linked website, lives in a workspace.
- marliechiller 2y agoIt would be great to have some screenshots or video of how this works and what it looks like embedded on the landing page provided. :)
- riidom 2y agoCheck out the Karousel (KDE) link from the "related projects" comment: https://news.ycombinator.com/item?id=41342596 https://news.ycombinator.com/item?id=41342596 It has a short clip, I assume it is similar enough to the actual submission to give an idea what it's about.
- GrayShade 2y agoThere is a video demo: https://www.youtube.com/watch?v=QifpqSiNSKA https://www.youtube.com/watch?v=QifpqSiNSKA
- SuperSandro2000 2y agoIMO tileable window managers are over hyped