hyprland-community / hyprland-autoname-workspaces

Hyprland autoname workspaces 🪟 [maintainers=@cyrinux,@maximbaz]
ISC License
192 stars 8 forks source link

[BUG] hyprland-autoname-workspace broken since hyprland moved SOCK location #110

Closed fiskhest closed 2 months ago

fiskhest commented 2 months ago

Describe the bug hyprland-autoname-workspace cannot run under hyprland v0.40.0 since hyprland moved the location of its socket.

Program version?

❯ hyprland-autoname-workspaces --version
hyprland-autoname-workspaces 1.1.13

To Reproduce Steps to reproduce the behavior:

  1. Install latest hyprland-autoname-workspace
  2. Run hyprland-autoname-workspace
    ❯ hyprland-autoname-workspaces
    thread 'main' panicked at /home/johan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyprland-0.3.13/src/data/regular.rs:31:19:
    A error occured while parsing the output from the hypr socket: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" })
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Expected behavior hyprland-autoname-workspaces runs cleanly

Linux Distro (please complete the following information):

Additional context I believe this issue comes from using an older version of hyprland-rs. It seems hyprswitch successfully bumped it's dependencies and use the new alpha version. My rust skills are worthless at best, so I cannot verify and PR this on my own.

noggynoggy commented 2 months ago

Can confirm issue on NixOS using the official Hyprland flake.

cyrinux commented 2 months ago

done!