SpectreOS/configs/pacman-hooks/display-manager.hook

10 lines
369 B
Text
Raw Normal View History

2022-10-04 19:01:31 +02:00
[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"