/etc/systemd/system/goodmorning.timer
[Unit]
Description=Morning
[Timer]
OnCalendar=*-*-* 7:00
WakeSystem=true
[Install]
WantedBy=multi-user.target
/etc/systemd/system/goodmorning.service
[Unit]
Description=Morning!
RefuseManualStart=true
RefuseManualStop=true
ConditionACPower=true
[Service]
Type=oneshot
ExecStart=/bin/systemd-inhibit --what=handle-lid-switch --why=goodmorning /bin/su marty -c "/usr/bin/timeout 45m /home/marty/bin/goodmorning"