SpectreOS/configs/pacman-hooks/display-manager_pre.hook
2022-10-04 19:01:31 +02:00

9 lines
232 B
Text
Executable file

[Trigger]
Operation = Upgrade
Type = Package
Target = sddm
[Action]
Description = Save sddm display-manager config befor updating
When = PreTransaction
Exec = /bin/bash -c "cp /usr/lib/sddm/sddm.conf.d/default.conf /tmp/sddm.conf"