Live data from Hacker News

Fancy Zones, a tiling window manager

github.com

131–140 of 172 posts

Re: Fancy Zones, a tiling window manager

#132
post #129

Does windows have virtual desktops? I don't see any hotkeys for moving between vdesks. Never thought I'd see the day MS makes a tiling wm with hotkeys inspired by i3 & friends. I'll stick with i3 though.

They’ve had virtual desktops for some time now, and I think the shortcut is Ctrl-Win-(left|right). They’re not terribly customizable but they’re not bad.

Re: Fancy Zones, a tiling window manager

#133
post #53

Earlier quoted context omitted.

Also coming to Windows from an i3 background, I've set up a custom autohotkey script that handles a lot of window management stuff for me on windows 10. F1 - Run or switch to Outlook F2 - Run or switch to Firefox F3 - Run or switch to Emacs ... F9 - Cycle windows in app F10 - previous window (alt+tab) F11 - maximize / restore F12 - Kill window It's not tiling, but it's a potent workflow.

For the launch, open of applications I use Win+Position on super bar. Win+1 Explorer Win+2 Firefox Win+...

Man, that saves me from so much alt-tabbing. I was using a custom AutoHotKey script to move between all sorts of Visual Studio solutions and manually opening email/chat/chrome/whatever else.

Re: Fancy Zones, a tiling window manager

#134
post #58

> ... also to restore these layouts quickly. This is the most frustrating problem I have with Microsoft Windows, which frequently needs a reboot (to satisfy update obligations, or just to try to fix degraded performance). After more than twenty years having my preferred desktop environment (KDE) bring back all my application windows, laid out as they were prior to reboot, across multiple virtual desktops, it's profou…

Sorry to tell you that KDE on Wayland will not make you happy any more.

I think this still could change though given Wayland is still very much a work in progress. Maybe they just haven't implemented this feature yet. AFAIK it isn't technically impossible with Wayland.

Re: Fancy Zones, a tiling window manager

#135
post #104

I wrote (and use) Mosaico. Download it at http://www.soulidstudio.com Any feedback welcome!

That looks like a cool project. If you don't mind me asking, is it just a side project, and if so, how much money can you make off of an app like his?

(Obviously not trying to compete in your space, just want to know if selling apps you've written is a worthwhile business.)

Re: Fancy Zones, a tiling window manager

#136
post #129

Does windows have virtual desktops? I don't see any hotkeys for moving between vdesks. Never thought I'd see the day MS makes a tiling wm with hotkeys inspired by i3 & friends. I'll stick with i3 though.

Use Win+Tab then in the upper left corner there is a button for 'New desktop'. On my work Dell laptop I can use three-finger swipe to switch desktops. Not sure about moving windows between virtual desktops.

Re: Fancy Zones, a tiling window manager

#137
post #32

I tried using a custom "window manager" for Windows a while ago (back in the Vista days IIRC) and it didn't really work well. The main problem was that, as far as I could tell, the window manager couldn't really preempt the windows and force them to show up in a certain way. Instead it basically asked them "pretty please, could you show up at this location with these dimensions?". As a result frozen apps (such as gra…

Windows doesn’t really have a window manager like the concept from X11. Basically the apps get messages and by using the standard libraries to handle a selection of messages, you get the behavior you’d expect of a Windows app, like the maximizing and minimizing, resizing and the Windows 10 specific zooming behavior. But there is little coordination and no separate process that draws window frames or something like th…

This is true for Win32 apps but window management of UWP apps is more coordinated, with a process that draws all the window frames.

Re: Fancy Zones, a tiling window manager

#138
post #129

Does windows have virtual desktops? I don't see any hotkeys for moving between vdesks. Never thought I'd see the day MS makes a tiling wm with hotkeys inspired by i3 & friends. I'll stick with i3 though.

Press win+tab to open the view to create new desktops and use ctrl+win+arrow key to switch between them.

Re: Fancy Zones, a tiling window manager

#139

Earlier quoted context omitted.

The way most software I've seen resolve this is to have a defaults config file and a user config file. defaults is defined by the application maintainers and the user config overrides any settings in the defaults. So you can do updates to the defaults but if users wanted to specify specific customisations those would be preserved. Also users can browser the defaults config and copy/paste chunks of that config into th…

thats an interesting idea. right now, configuring workspacer is a very imperative, mutable process, because you just setup instances of objects, and call functions that setup some state. some care would need to be taken to design an API that could be "layered" in that it could be easily overridden by the user. this is a good idea!

Might be just as easy as making sure that all of your defaults are documented in the doc-comments of relevant properties and encouraging people to use CSX editors that have good documentation tooltips for API exploration (like VS Code with OmniSharp)?

Re: Fancy Zones, a tiling window manager

#140
post #67

Earlier quoted context omitted.

What is different about some applications?

Some applications like to reset their own position occasionally, or don't take kindly to being resized from an outside process. WinSCP is an example where workspacer tries to resize/position the window, and WinSCP itself listens for the move event, and moves itself. workspacer gets that second move event, and cycles back and forth forever. For the few cases where it doesn't work right now, I have ignore routes setup…

Martin Prikryl (the WinSCP main developer) is quite active on their forums and on StackOverflow questions about WinSCP; might be worth asking why or if it could be turned off;

https://winscp.net/forum/viewforum.php?f=2&sid=5a9eada96b43f...

Post reply on HN