Move presentation_mode state file into XDG_RUNTIME_DIR

Because it is automatically cleaned up on boot, means we always start
with presentation_mode OFF
This commit is contained in:
2020-02-23 14:00:17 +01:00
parent 96fb0c224d
commit 571316c7a5

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
_status_file="${RUNDIR}/presentation-mode-on" _status_file="${XDG_RUNTIME_DIR}/presentation-mode-on"
_autostart="$HOME/.autostart.sh" _autostart="$HOME/.autostart.sh"
is_on() { is_on() {