mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 13:39:46 +01:00
9b378afae7
The previous syntax (`plugin:name { ...settings}`) is not working with
more than one plugin. There is no documentation for this, just the
source code [1].
With this update the plugins paths aren't generated together with the
full config (so the "plugin" field is not "important" anymore) and the
plugins settings are generated like the other fields.
[1] 4d403dac32/src/config/ConfigManager.cpp (L1574)
50 lines
1.3 KiB
Text
50 lines
1.3 KiB
Text
exec-once = /nix/store/00000000000000000000000000000000-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
|
|
$mod=SUPER
|
|
bezier=smoothOut, 0.36, 0, 0.66, -0.56
|
|
bezier=smoothIn, 0.25, 1, 0.5, 1
|
|
bezier=overshot, 0.4,0.8,0.2,1.2
|
|
source=sourced.conf
|
|
animations {
|
|
animation=border, 1, 2, smoothIn
|
|
animation=fade, 1, 4, smoothOut
|
|
animation=windows, 1, 3, overshot, popin 80%
|
|
enabled=true
|
|
}
|
|
|
|
decoration {
|
|
col.shadow=rgba(00000099)
|
|
shadow_offset=0 5
|
|
}
|
|
|
|
input {
|
|
touchpad {
|
|
scroll_factor=0.300000
|
|
}
|
|
accel_profile=flat
|
|
follow_mouse=1
|
|
kb_layout=ro
|
|
}
|
|
|
|
plugin {
|
|
plugin1 {
|
|
section {
|
|
other=dummy setting
|
|
}
|
|
dummy=plugin setting
|
|
}
|
|
}
|
|
bindm=$mod, mouse:272, movewindow
|
|
bindm=$mod, mouse:273, resizewindow
|
|
bindm=$mod ALT, mouse:272, resizewindow
|
|
# window resize
|
|
bind = $mod, S, submap, resize
|
|
|
|
submap = resize
|
|
binde = , right, resizeactive, 10 0
|
|
binde = , left, resizeactive, -10 0
|
|
binde = , up, resizeactive, 0 -10
|
|
binde = , down, resizeactive, 0 10
|
|
bind = , escape, submap, reset
|
|
submap = reset
|