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:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user