[feature-systemd] Change target to graphical.target and add hook after keyboard-setup.service
This commit is contained in:
parent
f797290174
commit
08e08a0f90
4
install
4
install
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user