From 571316c7a5ffa31bc100cd8be73f0eb385c5aaf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sun, 23 Feb 2020 14:00:17 +0100 Subject: [PATCH] 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 --- i3/scripts/presentation-mode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/scripts/presentation-mode b/i3/scripts/presentation-mode index 5fe1f83..c41b735 100755 --- a/i3/scripts/presentation-mode +++ b/i3/scripts/presentation-mode @@ -1,6 +1,6 @@ #!/usr/bin/env bash -_status_file="${RUNDIR}/presentation-mode-on" +_status_file="${XDG_RUNTIME_DIR}/presentation-mode-on" _autostart="$HOME/.autostart.sh" is_on() {