I am once again considering to write my own window manager

…unless the setup I am thinking of is already possible, let me construct this in your head:

On the top of the screen, there is narrow status bar, which is split into two parts. On the right side of the bar, you have your clock, your battery, your signal strength and so on.

On the left side, there is a clickable tab for every window you have opened. It’s like browser tabs: Every window always uses the entire space below the status bar.

On the far left, there could be an icon which opens a searchable list of applications, kind of like #dmenu but vertical. Everything supports mouse input as you would expect.

Does that exist? Should I make it? It would be awesome for smaller screens, like phones.

Edit: I should add that I’m planning to run it on a Nokia N900 with a single 600 MHz CPU core, 256 MB RAM and a resolution of 800×480 pixels. Existing full desktop environments like Xfce4, LXDE, and so on are way to heavy to run.

@linux@lemmy.ml @linux@lemmy.world @linux@programming.dev @linux@sh.itjust.works

#linux #programming #windowmanager #x11 #wayland

  • boyi@lemmy.sdf.org
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    10 months ago

    in Wayland: sway+waybar

    You can use i3 as mentioned in other comments for x11.

  • lily33@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    10 months ago

    Almost any window manager should be able to do that. One way would be: timing WM + a script that opens each window in new workspace + bar configuration (if the built-in bar can’t do what you want, there are plenty configurable thind-party bars that most WMs support).

  • lzbz@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    This should be possible to build with sway (and presumably any other tiling wm). Now that I’m thinking about it, you can probably also do this with gnome and a couple of extensions.

    The status bar can be achieved with waybar in sway, which can be easily configured the way you described. In gnome there is an extension to rearrange the top panel.

    I’m thinking of opening each window in a new workspace, can be configured for sway and gnome has an extension for that.

    For the tabs we can use waybar with sworkstyle for each wroskpace, requires some configuration. For gnome I’d just use one of the many task bar extensions.

    I can’t immediately think of a solution for the searchable list, but I’d be surprised if it didn’t exist for both systems.

    • Fell@ma.fellr.netOP
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      10 months ago

      @MonkderZweite Well, a window manager is for managing windows, right? So, having it also provide a list of windows to click on is resonable, in my opinion.

      I should’ve added that I’m planning to run it on a Nokia N900 with 600 MHz and 256 MB RAM, both #XFCE and #LXDE are way too heavy for it. Also, most of their menus don’t fit on the 800×480 pixel screen.

  • SomeBoyo@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    That’s something you can do with most window managers, but if you want to write your own wm, you can use DWM as a start.

  • merthyr1831@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    Unless you wanna write your own window manager (all the power to you!) almost any barebones window manager can pretty much be customised to meet your needs with their scripting APIs.

    Oh damn, maybe you might wanna write your own for such a specific use case.