dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] Persistent Workspace Swiping does not work

Open michaelphagen opened this issue 1 year ago • 2 comments

Describe the bug Swiping through workspaces only swipes to those that have windows, indicating that workspaces are not persistent

To Reproduce Steps to reproduce the behavior:

  1. Add workspace = r[1-4], persistent:true to the end of ~/.config/hypr/hyprland.conf
  2. try swiping between workspaces, which stops at the
  3. enter hyprctl workspaces in terminal
  4. See
workspace ID 1 (1) on monitor eDP-1:
	monitorID: 0
	windows: 2
	hasfullscreen: 0
	lastwindow: 0x55b950d2b490
	lastwindowtitle: ~

With no persistent flag

Expected behavior Setting workspaces to persistent should allow swiping between them even when there is no window

Distribution (please complete the following information): Fedora 41

Additional context Perhaps I'm missing something, but I've gone through the hyprland docs and think I'm doing this right.

michaelphagen avatar Dec 06 '24 18:12 michaelphagen

@michaelphagen Not sure but it could be that this is the expected behavior of Hyprland. You have checked the docu on hyprland wiki?

mylinuxforwork avatar Dec 07 '24 13:12 mylinuxforwork

It does seem that it should work, my assumption is that there is something in the ml4w config that is creating the persistent workspaces in a different way than the wayland docs reference. I'm able to mostly get it working by setting workspace_swipe_use_r and workspace_swipe_create_new to true, but I only want to swipe through the 4 workspaces I've set in the ml4w config, I don't want swiping to create new workspaces. If I just set workspace_swipe_create_new to false it does not swipe through the 4 workspaces I've set in waybar.

michaelphagen avatar Dec 12 '24 17:12 michaelphagen