[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]
Description=Comfortable 3 or 4 finger gestures
After=display-manager.service
After=display-manager.service keyboard-setup.service
[Service]
Environment=DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY
@ -67,7 +67,7 @@ Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target" \
WantedBy=graphical.target" \
> $SERVICE_PATH
# run immediately