[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]
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user