diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-09-22 22:37:42 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-09-22 22:37:42 +0800 |
| commit | 4707906fd1d3d5ad31b91657279f9cfff3b437a4 (patch) | |
| tree | 65dbd13ced7c86a667871e6420da00796af38243 /usr/share/libalpm | |
| parent | ecbae1f7cd44a27ee5f561213d6ffc5c45c34199 (diff) | |
added hyprland-hyprpm hook to update the hyprpm when hyprland updates
Diffstat (limited to 'usr/share/libalpm')
| -rw-r--r-- | usr/share/libalpm/hyprland-hyprpm.hook | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/share/libalpm/hyprland-hyprpm.hook b/usr/share/libalpm/hyprland-hyprpm.hook new file mode 100644 index 00000000..0627eacb --- /dev/null +++ b/usr/share/libalpm/hyprland-hyprpm.hook @@ -0,0 +1,12 @@ +[Trigger] +Type = Package +Operation = Install +Operation = Upgrade +Target = hyprland +Target = hyprland-git + +[Action] +Description = Hyprland: updating hyprpm +When = PostTransaction +Exec = /usr/bin/sudo -u system /usr/bin/hyprpm update +NeedsTargets |
