[feature-systemd] Change target to graphical.target and add hook after keyboard-setup.service

This commit is contained in:
Rico Tiongson 2017-11-14 00:25:21 +08:00
parent f797290174
commit 08e08a0f90

View File

@ -58,7 +58,7 @@ SERVICE_PATH="/lib/systemd/system/comfortable-swipe.service"
echo "[Unit] echo "[Unit]
Description=Comfortable 3 or 4 finger gestures Description=Comfortable 3 or 4 finger gestures
After=display-manager.service After=display-manager.service keyboard-setup.service
[Service] [Service]
Environment=DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY Environment=DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY
@ -67,7 +67,7 @@ Restart=always
RestartSec=2 RestartSec=2
[Install] [Install]
WantedBy=multi-user.target" \ WantedBy=graphical.target" \
> $SERVICE_PATH > $SERVICE_PATH
# run immediately # run immediately