mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 15:14:26 +00:00
hyprland: mark plugin setting as important
The plugins are often necessary for other configurations.
This commit is contained in:
parent
be97e96dab
commit
0e2e443ff2
2 changed files with 3 additions and 3 deletions
|
@ -229,7 +229,7 @@ in {
|
|||
};
|
||||
allFields = filterAttrs (n: v: !(isAttrs v)) attrs;
|
||||
importantFields = filterAttrs (n: _:
|
||||
(hasPrefix "$" n) || (hasPrefix "bezier" n)
|
||||
(hasPrefix "$" n) || (hasPrefix "bezier" n) || (n == "plugin")
|
||||
|| (cfg.sourceFirst && (hasPrefix "source" n))) allFields;
|
||||
fields = builtins.removeAttrs allFields
|
||||
(mapAttrsToList (n: _: n) importantFields);
|
||||
|
|
|
@ -3,6 +3,8 @@ $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
|
||||
plugin=/path/to/plugin1
|
||||
plugin=/nix/store/00000000000000000000000000000000-foo/lib/libfoo.so
|
||||
source=sourced.conf
|
||||
animations {
|
||||
animation=border, 1, 2, smoothIn
|
||||
|
@ -27,8 +29,6 @@ input {
|
|||
bindm=$mod, mouse:272, movewindow
|
||||
bindm=$mod, mouse:273, resizewindow
|
||||
bindm=$mod ALT, mouse:272, resizewindow
|
||||
plugin=/path/to/plugin1
|
||||
plugin=/nix/store/00000000000000000000000000000000-foo/lib/libfoo.so
|
||||
# window resize
|
||||
bind = $mod, S, submap, resize
|
||||
|
||||
|
|
Loading…
Reference in a new issue