Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to utilize hyprNStack after update #25

Open
TyrHeimdalEVE opened this issue Oct 31, 2024 · 1 comment
Open

Unable to utilize hyprNStack after update #25

TyrHeimdalEVE opened this issue Oct 31, 2024 · 1 comment

Comments

@TyrHeimdalEVE
Copy link

I'm experiencing some strange behavior, where after a 2 week vacation, I came home and did an upgrade of packages. All was good.

Then I decided to run hyprpm update and after that, hyprNStack will just not function anymore.

I've tried removing it and backstepping to an older git revision to no avail.

❯ hyprpm list
 → Repository hyprland-plugins:
  │ Plugin borders-plus-plus
  └─ enabled: false
  │ Plugin csgo-vulkan-fix
  └─ enabled: false
  │ Plugin hyprbars
  └─ enabled: false
  │ Plugin hyprexpo
  └─ enabled: false
  │ Plugin hyprtrails
  └─ enabled: false
  │ Plugin hyprwinwrap
  └─ enabled: false
 → Repository hyprWorkspaceLayouts:
  │ Plugin hyprWorkspaceLayouts
  └─ enabled: true
 → Repository hyprscroller:
  │ Plugin hyprscroller
  └─ enabled: false
 → Repository hyprNStack:
  │ Plugin hyprNStack
  └─ enabled: true
❯ hyprctl plugin list

Plugin hyprNStack by Zakk:
	Handle: 61c0df29b860
	Version: 1.0
	Description: Plugin for column layout

❯ cat ~/.local/share/hyprpm/hyprNStack/state.toml
   1   │ [hyprNStack]
   2   │ enabled = true
   3   │ failed = false
   4   │ filename = 'hyprNStack.so'
   5   │
   6   │ [repository]
   7   │ hash = '0eb3c1fee1f33c632498dc598488412133ca5e3c'
   8   │ name = 'hyprNStack'
   9   │ rev = ''
  10   │ url = 'https://github.com/zakk4223/hyprNStack'

❯ Hyprland --version
Hyprland, built from branch  at commit 4520b30d498daca8079365bdb909a8dea38e8d55  (version: bump to 0.44.1).
Date: Wed Oct 9 12:54:39 2024
Tag: v0.44.1, commits: 5309
built against aquamarine 0.4.3

❯ /bin/cat ~/.config/hypr/hyprland.conf
...
master {
    always_center_master = true
    new_status = master
    orientation = center
    mfact = 0.625
}
...
plugin {
  wslayout {
      default_layout=master
  }
  nstack {
    layout {
      orientation=left
      new_on_top=0
      new_is_master=1
      no_gaps_when_only=0
      special_scale_factor=0.8
      inherit_fullscreen=1
      stacks=2
      center_single_master=1
      mfact=0.5
      single_mfact=0.625
    }
  }
}

# lsof shows the .so plugin loaded
Hyprland   2232                  wrc  mem       REG               0,26          17396022 /home/wrc/.local/share/hyprpm/hyprNStack/hyprNStack.so (path dev=0,48)

Any advice on what could be causing it or debugging steps that might show why...?

@TyrHeimdalEVE
Copy link
Author

TyrHeimdalEVE commented Oct 31, 2024

Of course right after writing this, I came to the conclusion that it was related to hyprWorkspaceLayouts which I should have picked up on.

It seems hyprpm is silently failing to build it. Will open a separate ticket in the respective repo.

Leaving this open as it might help others, and you can decide to close it whenever.

Thanks a lot for making hyprNStack, it's a godsent for super ultrawide on Hyprland!

EDIT: Added new issue in zakk4223/hyprWorkspaceLayouts#19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant