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

9 lines
369 B
Text
Executable file

[Trigger]
Operation = Upgrade
Type = Package
Target = sddm
[Action]
Description = Updating sddm display-manager config after updating
When = PostTransaction
Exec = /bin/bash -c "cp /tmp/sddm.conf /etc/sddm.conf && cp /tmp/sddm.conf /usr/lib/sddm/sddm.conf.d/default.conf && cp /opt/deadc0de-os-code/display-manager.service /etc/systemd/system/display-manager.service"