aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-09-28 15:13:45 +0200
committerDavid Runge <dave@sleepmap.de>2016-09-28 15:13:45 +0200
commit726c0e6ced877cec3f2d7317ca0fcdfaf212585f (patch)
tree375442371c5989a75c985daee8ea7313dc3c0834
parent196e7e28b76295cebace456679cc6c4e4a0d7d5d (diff)
downloaddotfiles-726c0e6ced877cec3f2d7317ca0fcdfaf212585f.tar.gz
dotfiles-726c0e6ced877cec3f2d7317ca0fcdfaf212585f.tar.bz2
dotfiles-726c0e6ced877cec3f2d7317ca0fcdfaf212585f.tar.xz
dotfiles-726c0e6ced877cec3f2d7317ca0fcdfaf212585f.zip
bin/i3lock: Moving screen lock picture location to XDG_RUNTIME_DIR.
-rwxr-xr-xbin/i3lock2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/i3lock b/bin/i3lock
index 50ce049..fcee43c 100755
--- a/bin/i3lock
+++ b/bin/i3lock
@@ -2,7 +2,7 @@
set -euo pipefail
-image_location=/tmp/$(whoami)/screen_locked.png
+image_location=$XDG_RUNTIME_DIR/screen-lock.png
/usr/bin/xset b off
/usr/bin/scrot -q 100 $image_location