You are not logged in.
Pages: 1
Hello! I am very close to having my hyprland exactly how I want. I have three monitors, two of which I have 5 workspaces each configured, and one I have one workspace configured, defined as 1-11. For some reason, when I boot my PC, it spawns three NEW workspaces, 12, 13, and 14, one for each montitor. This is NOT what I want. I only want to use these workspaces I have specifically defined. In addition, it also seems like when I try to send windows across monitors, say from workspace 1 to workspace 6, instead of sending the window to the other monitor, it spawns a workspace 6 on the original monitor. I tried looking over the workspace rules section of the hyprland forums, and couldn't find what I was looking for. If anyone could point me in the right direction, that would be wonderful! Here is the relevant section of my configuration:
monitor=HDMI-A-1,3840x2160@60,0x-1080,2
monitor=DP-2,2560x1440@144,0x0,1
monitor=DP-3,1920x1080@60,-1920x380,1
workspace=1,monitor:"DP-2"
workspace=2,monitor:"DP-2"
workspace=3,monitor:"DP-2"
workspace=4,monitor:"DP-2"
workspace=5,monitor:"DP-2"
workspace=6,monitor:"DP-3"
workspace=7,monitor:"DP-3"
workspace=8,monitor:"DP-3"
workspace=9,monitor:"DP-3"
workspace=10,monitor:"DP-3"
workspace=11,monitor:"HDMI-A-1"
And if it matters, my waybar conf:
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": false,
"on-click": "activate",
"format": "{name}",
"persistent-workspaces":
{
"DP-2":[1,2,3,4,5],
"DP-3":[6,7,8,9,10],
"HDMI-A-1":[11],
}
},
Last edited by 0x716 (2024-08-19 00:45:25)
Offline
Yes workspaces are weird on Hyprland on any of these window manager specially if you have multiple monitors.
the way to test if you have workspaces working is hyprctl workspaces, and see what each monitor will return..
seems you have to create a script to dispatch each monitor and activate a new workspace for each one.. .. the assignments in hyprland.conf is not enough, and in my case I have 4 monitors, and only one working on is the last monitor DP-4, workspaces are showing and can be switched to, but only on the last one.. I am researching a solution also, you are not alone... once I get it work will update it here.. thanks for your question and findings.
There is also a third party program that can do the job , you can use it here, but I am looking for a built in option as designed by hyprland, and not add another overhead.. but this script should work in the time being https://github.com/sopa0/hyprsome
there is also a youtube video on this..
if you find a solution for Multi-Monitor, please let me know.. I will solve this TODAY~ will not sleep until i get 5 workspaces on each one of my 4 monitors, total of 20.. there has to be a way in hyprland. otherwise someone of there dev them need to provide better examples on their WiKi as it is so confusing and does not make any sense.. or they designed it for ONE monitor not multi
Last edited by cartanian (2024-12-26 15:44:48)
Arch user since 2018, never going back to windows, few problems with some updates, but it is worth it.Learned so much about freedesktop. The community support is better than any developer from Microsoft and apple that ruins our daily experience and restrict anyone from have a PC..
With Arch, there is nothing you cannot do, and there is nothing you cannot solve, even if it takes days WORTH IT!!!
Offline
I noticed you have an extra comma here "HDMI-A-1":[11],
Remove it for now and try that.. let me know if works.. close on finding a solution
Arch user since 2018, never going back to windows, few problems with some updates, but it is worth it.Learned so much about freedesktop. The community support is better than any developer from Microsoft and apple that ruins our daily experience and restrict anyone from have a PC..
With Arch, there is nothing you cannot do, and there is nothing you cannot solve, even if it takes days WORTH IT!!!
Offline
waybar conf:
"hyprland/workspaces": { "disable-scroll": true, "all-outputs": false, "on-click": "activate", "format": "{name}", "persistent-workspaces": { "DP-2":[1,2,3,4,5], "DP-3":[6,7,8,9,10], "HDMI-A-1":[11], } },
You were super close! looks like you just need some adjusting in your formatting for you waybar conf. I was able to get workspaces 1-5 on my built-in screen and workspaces 6-10 on an external monitor using this:
waybar
"hyprland/workspaces": {
"disable-scroll": true,
"rotate": ${r_deg},
"all-outputs": false,
"active-only": true,
"on-click": "activate",
"disable-scroll": false,
"on-scroll-up": "hyprctl dispatch workspace -1",
"on-scroll-down": "hyprctl dispatch workspace +1",
"persistent-workspaces": {
"eDP-2": [ 1, 2, 3, 4, 5],
"HDMI-A-1": [ 6, 7, 8, 9, 10],
}
},
Source: https://github.com/Alexays/Waybar/wiki/ … workspaces
Offline
Pages: 1