25 lines
545 B
Django/Jinja
Executable File
25 lines
545 B
Django/Jinja
Executable File
[Unit]
|
|
Description=Chrome
|
|
After=sddm.service
|
|
|
|
|
|
[Service]
|
|
Restart=always
|
|
RestartSec=3s
|
|
ExecStartPre=/bin/sleep 5
|
|
ExecStart=/usr/bin/google-chrome \
|
|
--disable-pinch \
|
|
--disable-translate \
|
|
--no-first-run \
|
|
--ignore-ssl-errors \
|
|
--disable-usb-keyboard-detect \
|
|
--window-size="{{ item.chrome_resolution }}" \
|
|
--app="{{ item.chrome_website }}" \
|
|
{{ item.extra_chrome_configs}}
|
|
|
|
{{ item.extra_service_configs }}
|
|
|
|
[Install]
|
|
WantedBy=graphical-session.target
|
|
|