Comments (2)
I have the same kind of problem. The issue is that you cannot assign a custom ID or so by matching a monitor description. If that were possible you could use the assigned ID in other rules. Maybe that would be a nice feature request?
My workaround for this is to run this bash script manually:
# puts workspaces on alternating monitors
# if you have two monitors:
# m1: 1 3 5 7 9
# m2: 2 4 6 8 10
# if you have three:
# m1: 1 4 7 10
# m2: 2 5 8
# m3: 3 6 9
arrange_workspaces() {
mapfile -t monitors < <( hyprctl monitors -j | jq -r '.[].name' )
for ((ws = 1; ws <= 10; ws++)); do
monitor="${monitors[(ws - 1) % ${#monitors[@]}]}"
hyprctl dispatch moveworkspacetomonitor "${ws}" "${monitor}" > /dev/null
hyprctl keyword workspace "${ws},monitor:${monitor}" > /dev/null
done
}
Not really convenient, but does what I want.
from hyprland-wiki.
you can now use monitor:desc: inside workspace rules on v0.27
should also be added in the wiki
from hyprland-wiki.
Related Issues (20)
- Crash on FreeBSD HOT 7
- Information about how to configure vrr per display missing HOT 1
- Slackbuild for this exists HOT 5
- Spotify follows window rules now HOT 2
- Update "Status Bar" chapter for Waybar: replace 'wlr/*' with 'hyprland/*' HOT 1
- [BUG] Hyprland config 'float' space sensitiv in hyprctl.conf HOT 1
- "colormgr get-devices" shows no output devices for wayland HOT 1
- Any way to use non-mod keys only? HOT 3
- Workspace Rule Contradictions HOT 1
- Unnecessary vulkan dependencies for ubuntu HOT 1
- Launching anyrun via exec causes it to crash after typing a single letter only after resuming from hibernation. HOT 1
- https://wiki.hyprland.org/Nix/ HOT 9
- Screensaver, Suspend/Hibernate and hook to lock after then. HOT 1
- Hyprland is now packaged in Fedora HOT 4
- Archlinux official repo package cannot be built HOT 10
- home-manager: configuring xdg portal HOT 4
- What means output variable in touchdevice and tablet subcategories? HOT 3
- Minor Wiki Spelling fix HOT 1
- Regex flag for case insensitivity HOT 3
- Keyboard compose keys HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyprland-wiki.