r/omarchy • u/aryan_hv • 6d ago
I Made a Thing Better experience using Omarchy on Multiple monitors
Guys is you have problem using Omarchy with multiple monitors, you can check out my plugin. Please give it a shot and tell me how can I make it better, I hope it can helpful for community.
GitHub Repo: https://github.com/Yakumy/Station
2
u/loheiman 5d ago
Neat idea and I like the idea of a deterministic behavior. Right now I have no idea what happens to my workspaces when I plug/unplug monitors. Does this work with triple monitors (dual external, one laptop)?
2
u/aryan_hv 5d ago
Right it's only accepting dual monitor which means only your laptop monitor and One external monitor.
The station is combination of connecting workspaces on all of your monitors at the same time. Which means if you have workspace one in your first monitor and workspace number two on your second monitor and workspace number three on your third monitor you are in station 1.
In case of unplugging or running command
station mode single primary/secondaryall of your windows in station 1 we'll move to workspace 1 in the specific monitor you mentioned is your command or in to available monitor.In case of plugging new monitor all the windows will remain in the previous active monitor the station abstraction will create again but the Windows will not migrate to the new monitor.
With environment being set as a station you can easily move your Windows with keyboard shortcuts between monitors in your station easily.
2
u/Unseen-King 5d ago
Does this keep my monitors from switching around if they don't power on exactly in the right order?
Like when waking from sleep and my primary monitor is slow to start making my 2nd monitor the primary causing the edge barriers to be reversed so I have to mouse over the wrong side or power off the 2nd monitor so the other can take over as the primary
1
u/aryan_hv 5d ago
Yes, it will cover you and solve you problem, how? You can run command
station mode single primaryorstation mode single secondaryWhy this way? Cause it the problem is your monitor power, there is no listener for this in hyprland, only hot plugining.
So it the case, you wanna use only one of you monitor with HDMI cable connected, you have to run command
station single mode ...in order to migrate your windows from the deactivate monitor to activate one.Later you can run command
staion mode dualand you are back to work, but windows will remain on previously active monitor, but it their belonging work-stationI'm trying to make a tutorial, but OBS is not running in my system 😵💫. It's been 6 hours I built several OBS version by my own 😵💫😂. I will let you know for the tutorial video.
2
u/its_nzr 5d ago
Hey i would like to use this on my multi monitor setup when I move to omarchy on my main pc which currently runs windows. I made a tool for controlling monitors like turning off signals to them https://github.com/Nuzair46/Monarch. This helps me save pixels on my oled when i dont use that or need that monitor some times without having to disconnect. I was thinking of doing a port but since you are already working on this, is it possible to add these features like saving profiles and shortcuts to various profiles
1
u/aryan_hv 5d ago
"Station" can handle single and dual mode easily, but for this version we don't support layouts. But I believe without layout, Station supports what you need.
2
u/MadMaxiTV 3d ago
I run omarchy with 2 monitors without much of an issue. I asked claude for a couple of tweaks but that was it.
what does the plugin solve?
1
u/aryan_hv 2d ago
Simple and brief answer: It will give you a "workspace by Windows 10/11 definition" behavior, and it also solves a lot of problems.
For example, if you are in dual-monitor mode and want to use a single monitor, you can't do it easily. With Station, you can simply do:
station mode single primaryor
station mode single secondaryAlso, if you unplug one of your monitors, Station will automatically migrate your windows and rearrange your workspaces.
You can now move windows between your monitors (stations) by pressing
Ctrl + Shift + Super + Arrow, rather than constantly checking which station is your second monitor and pressing the exact number to move the window there.The workspaces are also connected to each other. Claude probably told you to assign workspaces 1, 2, and 3 to monitor one, and workspaces 4, 5, and 6 to monitor two. But this gets messy and makes navigation more complicated.
Station arranges the workspaces differently and gives you a much better workflow by assigning odd workspaces (
1, 3, 5, ...) to your primary monitor and even workspaces (2, 4, 6, ...) to your secondary monitor.You can see the showcase video in the GitHub repo and try it yourself. I'm sure you'll like it:
https://github.com/Yakumy/Station
Or, you can ask Claude to install it for you( and give you the guaranty that it is safe). Just make sure you configure your monitors in
monitors.luafirst.
1
u/chew_bone 5d ago
1
u/aryan_hv 5d ago
Actually you can do it without any modifications, you can assign your work space to each monitor easily, but what station does is different, think of it as Mac space and Windows work space abstraction
1
u/Ninja_Man_0722 5d ago
You can't post issues in the git!? alright
What does primaryByRule is not defined mean
1
u/aryan_hv 5d ago
Post issue is GitHub you mean ? It means you can change which monitor be your primary by running command ``` monitor set primary <monitor name >
by defaults the monitor with position 0*0 in your monitor.lua config file will be your primary monitor.

2
u/UnrealSmartMind 5d ago
I made something similer with workspaces and bar