Vladimir-csp / uwsm

Universal Wayland Session Manager
MIT License
176 stars 8 forks source link

fix: install Hyprland plugin as a symlink #24

Closed notpeelz closed 8 months ago

notpeelz commented 8 months ago

The Hyprland.sh symlink gives this warning:

$ meson install -C build --dry-run
ninja: Entering directory `/home/peelz/code/git/uwsm/build'
ninja: no work to do.
Installing /home/peelz/code/git/uwsm/build/uwsm/uwsm to /usr/bin
Installing /home/peelz/code/git/uwsm/uwsm/__init__.py to /usr/share/uwsm/modules/uwsm
Installing /home/peelz/code/git/uwsm/uwsm/main.py to /usr/share/uwsm/modules/uwsm
Installing /home/peelz/code/git/uwsm/build/uwsm/params.py to /usr/share/uwsm/modules/uwsm
Installing /home/peelz/code/git/uwsm/uwsm-plugins/labwc.sh to /usr/share/uwsm/plugins
Installing /home/peelz/code/git/uwsm/uwsm-plugins/wayfire.sh to /usr/share/uwsm/plugins
Installing /home/peelz/code/git/uwsm/uwsm-plugins/sway.sh to /usr/share/uwsm/plugins
Installing /home/peelz/code/git/uwsm/uwsm-plugins/hyprland.sh to /usr/share/uwsm/plugins
Installing /home/peelz/code/git/uwsm/uwsm-plugins/Hyprland.sh to /usr/share/uwsm/plugins
Warning: trying to copy a symlink that points to a file. This currently copies
the file by default, but will be changed in a future version of Meson to copy
the link instead.  Set follow_symlinks to true to preserve current behavior, or
false to copy the link.
Installing /home/peelz/code/git/uwsm/example-units/cliphist.desktop to /usr/share/doc/uwsm/example-units
Installing /home/peelz/code/git/uwsm/example-units/cliphist.service to /usr/share/doc/uwsm/example-units
Installing /home/peelz/code/git/uwsm/example-units/kanshi.desktop to /usr/share/doc/uwsm/example-units
Installing /home/peelz/code/git/uwsm/example-units/kanshi.service to /usr/share/doc/uwsm/example-units
Installing /home/peelz/code/git/uwsm/example-units/waybar.desktop to /usr/share/doc/uwsm/example-units
Installing /home/peelz/code/git/uwsm/example-units/waybar.service to /usr/share/doc/uwsm/example-units
Installing /home/peelz/code/git/uwsm/README.md to /usr/share/doc/uwsm
Installing /home/peelz/code/git/uwsm/LICENSE to /usr/share/licenses/uwsm
Vladimir-csp commented 8 months ago

Despite what you said about case, I'm leaning towards making wm_bin_id lowercase with case-insensitive matching. This string is already processed, one more step does not add much of a burden. Quite the opposite, it would remove ambiguity and the need for symlinks. Distro shenanigans are infinitely more probable than two different compositors with the same name and different cases.