mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-13 12:31:07 +01:00
hyprland: load plugins using exec-once (#6789)
Should eliminate crashes / plugin version mismatches when updating hyprland.
This commit is contained in:
parent
542efdf2df
commit
7946193670
3 changed files with 7 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
exec-once = @dbus@/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
|
||||
plugin=/path/to/plugin1
|
||||
plugin=/nix/store/00000000000000000000000000000000-foo/lib/libfoo.so
|
||||
exec-once=/nix/store/00000000000000000000000000000000-hyprland/bin/hyprctl plugin load /path/to/plugin1
|
||||
exec-once=/nix/store/00000000000000000000000000000000-hyprland/bin/hyprctl plugin load /nix/store/00000000000000000000000000000000-foo/lib/libfoo.so
|
||||
$mod=SUPER
|
||||
bezier=smoothOut, 0.36, 0, 0.66, -0.56
|
||||
bezier=smoothIn, 0.25, 1, 0.5, 1
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
exec-once = @dbus@/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
|
||||
plugin=/path/to/plugin1
|
||||
plugin=/nix/store/00000000000000000000000000000000-foo/lib/libfoo.so
|
||||
exec-once=/nix/store/00000000000000000000000000000000-hyprland/bin/hyprctl plugin load /path/to/plugin1
|
||||
exec-once=/nix/store/00000000000000000000000000000000-hyprland/bin/hyprctl plugin load /nix/store/00000000000000000000000000000000-foo/lib/libfoo.so
|
||||
$mod=SUPER
|
||||
bezier=smoothOut, 0.36, 0, 0.66, -0.56
|
||||
bezier=smoothIn, 0.25, 1, 0.5, 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue