Repository navigation
Conversation
|
I'll fix merge conflict later today. |
6dacb04 to
c0a5857
Compare
c0a5857 to
e653b58
Compare
|
Merge conflicts fixed. |
|
I think this is really clever, but it's also quite a lot of code. I'd love to see this as an Omarchy plugin instead. Trying to think how we could best do that. Maybe we add something like This is sorta similar to what @npenza has been working on for custom themes. This is a great use case to try it out. Kinda like Rails engines! |
|
Makes sense! I can work on an omarchy plugin installer next week when I'm home from vacation with the kids 😊. If I understand you right @dhh, the changes in this PR should be placed in a separate repo for the plugin itself, right? |
|
Correct, yes. I think the setup we have with the new theme installer is a good pattern to follow 👌 |
|
Will close this for now then in anticipation. |
|
@jonashan couldn't this be done in a much more simple way just using maybe a submap and It could easily be adapted to make the submap specific binds repeatable, plus binds for In my case, I use two monitors so all I need is left/right move and they are non-repeatable. |
This PR introduces the ability to move the current workspace to a different monitor, either by specifying the monitor directly or by cycling through monitors using the arrow keys.
While single-monitor setups are increasingly popular, some users (myself included 😉) still rely on multi-monitor workflows. This feature makes it easier to organize and shift workspaces between monitors efficiently.
Implementation Details
This feature builds on the existing Hyprland command hyprctl dispatch moveworkspacetomonitor. To support it, I added a few lightweight Bash scripts to:
These scripts provide the necessary context for workspace movement logic.
Tested on a dual-monitor setup.
Keybindings
How to Test
After installing Arch Linux, run the following command:
wget -qO- https://raw.githubusercontent.com/jonashan/omarchy/refs/heads/move-workspace-to-monitor-test/boot.sh | bash