5 ms·
Does anybody knows about a tiling WM that allows customising the position of the first window you open? I have an ultra wide display, and I want the first windo
by m1keil 3y ago
Does anybody knows about a tiling WM that allows customising the position of the first window you open? I have an ultra wide display, and I want the first window I open to be roughly 1/3 in screen width and placed in the centre. From memory of playing with i3/sway, it would allow different layouts but the 1st screen would always be full screen and I would have to do something like choose "thirds layout" and "open terminal, open app I want, open terminal".
- pkkm 3y agoRelated question, since we're on the topic: does Linux have a way to split a single wide monitor into smaller "virtual" monitors?
- throw20240324 3y agoI do this with xmonad. https://xmonad.github.io/xmonad-docs/xmonad-contrib/XMonad-Layout-LayoutScreens.html https://xmonad.github.io/xmonad-docs/xmonad-contrib/XMonad-L...
- chills 3y agoX does, you can use xrandr --setmonitor. For example, splitting a 5120x1440 monitor into three: xrandr --setmonitor DisplayPort-0-0 1280/297x1440/340+0+0 none xrandr --setmonitor DisplayPort-0-1 2560/595x1440/340+1280+0 none xrandr --setmonitor DisplayPort-0-2 1280/297x1440/340+3840+0 none
- mxmilkiib 3y agoI'd like to do this under AwesomeWM but cannot https://github.com/awesomeWM/awesome/issues/3132 https://github.com/awesomeWM/awesome/issues/3132
- FreeFull 3y agoThat's possible with Niri, with its center-focused-column and default-column-width settings. It's not a traditional tiling WM, though
- m1keil 3y agoNever heard of Niri before. Will take a look, cheers.
- christophilus 3y agoI do it with PaperWM which is a niri-like Gnome extension.
- nerdix 3y agoI do something like that on a 49 inch 32:9 ultra wide with hyprland.i don't have my config handy but basically you want to use the master layout and set orientation to center. You can also play around with new_is_master and always_center_master based on your preferences. https://wiki.hyprland.org/Configuring/Master-Layout/ https://wiki.hyprland.org/Configuring/Master-Layout/
- m1keil 3y agoThanks, will take a look.
- phero_cnstrcts 3y agoPlease report back if it is working for you. I have the same problem.
- gryn 3y agoyou can write a script to hack that behaviour with i3-msg `i3-msg -t get_tree`. it's frustrating that you cant have empty tiles though, you'll need to write in your a script 0% opacity panes that get replaced when a new windows is created.
- nullwarp 3y agoI did this with AwesomeWM. The Lain (plugin/extension/i forget what its called in awesome) has a "centerwork" style layout that solves this exact issue. Actually it's really surprising how few tiling WMs support this sort of scenario. I eventually just gave up and switched to KDE+KZones as it covers 90% of what I'd get from a tiling WM anyway.
- clircle 3y agoDwm has a patch for this. I think you can use vanity gaps, and make the outer gaps depend on a layout or window rule.
- dsissitka 3y agoThat's one of the reasons I use i3. gaps horizontal 417 gaps inner 10 smart_gaps inverse_outer https://imgur.com/a/MjNBgms https://imgur.com/a/MjNBgms
- pkulak 3y agoI wrote my own layout manager to do exactly this: https://github.com/pkulak/filtile https://github.com/pkulak/filtile
- kinleyd 3y agoHyprland can do that, quite easily. It has windows rules that allow you to place everything just so.
- 000ooo000 3y agoIIRC, Sway supports this. On an empty workspace, the first window I open is centered and about 800x800px, and on opening a second, both windows begin tiling and take up the whole screen. I think is the relevant setting: # Only enable outer gaps when there is exactly one container smart_gaps inverse_outer And I have these gap values in my config: gaps horizontal 1000px gaps vertical 100px HTH
- beginnings 3y agohyprland isnt a window manager, its a wayland compositor that doesnt sacrifice on looks