Compare commits
2 Commits
b713179e78
...
a3531e9af5
Author | SHA1 | Date |
---|---|---|
j1nx | a3531e9af5 | |
j1nx | 3734680436 |
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
status="$(sudo tvservice -n 2>&1)"
|
||||
|
||||
if [ "$status" == "[E] No device present" ];
|
||||
then
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
fi
|
|
@ -9,6 +9,7 @@ User=mycroft
|
|||
Type=notify
|
||||
WorkingDirectory=/home/mycroft
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecCondition=/usr/sbin/screencheck
|
||||
ExecStart=/home/mycroft/.local/share/systemd/mycroft-systemd_gui.py
|
||||
StandardOutput=append:/var/log/mycroft/enclosure_gui.log
|
||||
StandardError=file:/var/log/mycroft/enclosure_gui.error.log
|
||||
|
|
|
@ -20,6 +20,7 @@ Environment=XDG_CURRENT_DESKTOP=kde
|
|||
Environment=LD_LIBRARY_PATH=/usr/lib
|
||||
Environment=LIBEXEC_PATH=/libexec:/usr/libexec:/usr/lib/libexec
|
||||
Environment=QML2_IMPORT_PATH=/usr/lib/qml
|
||||
ExecCondition=/usr/sbin/screencheck
|
||||
ExecStartPre=-/usr/bin/kbuildsycoca5
|
||||
ExecStart=mycroft-embedded-shell --maximize
|
||||
StandardOutput=null
|
||||
|
|
Loading…
Reference in New Issue