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

0 points

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.

permalink
report
reply
0 points

Check out awesome wm and i3 if you haven’t already

permalink
report
reply
0 points

@mvirts @chinstrap

I haven’t looked too deep into what’s possible with the config files of i3 or awesome. Maybe I should do that first. I just assumed they would be too keyboard focused. I want everything to be visible on screen, so you don’t have to remember hotkeys.

permalink
report
parent
reply
0 points

What you want should be quite easy to achieve with i3/sway or awesomewm. i3 has a slew of possibilities for “bars”, even the xfce/kde panels: https://wiki.archlinux.org/title/i3#i3bar_alternatives

Awesomewm is totally usable via the mouse and infinetly extendaple via lua.

permalink
report
parent
reply
0 points

I just wish it would be easier to set it up and run it a s a floating WM, with proper window decorations and movement.

permalink
report
parent
reply
0 points

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.

permalink
report
reply
0 points

Since tiling is not wanted, I think gnome + extensions should be the way to go.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8.2K

    Monthly active users

  • 3.7K

    Posts

  • 48K

    Comments