From cc3bfc1e324cfe44aae189d131b93f16d051bcee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 18 Nov 2018 13:14:52 +0100 Subject: Move background files to XDG_DATA_HOME --- roles/cron/tasks/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/cron/tasks/main.yml b/roles/cron/tasks/main.yml index b93c0b7..74726b9 100644 --- a/roles/cron/tasks/main.yml +++ b/roles/cron/tasks/main.yml @@ -6,6 +6,11 @@ name: XDG_RUNTIME_DIR env: true job: "{{ lookup('env', 'XDG_RUNTIME_DIR') }}" + - name: xdg data env + cron: + name: XDG_DATA_HOME + env: true + job: "{{ lookup('env', 'XDG_DATA_HOME') }}" - name: xdg current desktop env cron: name: XDG_CURRENT_DESKTOP @@ -30,5 +35,5 @@ cron: name: change wallpaper minute: 0 - job: 'pcmanfm -w `ls -d -1 $HOME/Backgrounds/* | shuf -n 1`' + job: 'pcmanfm -w `ls -d -1 $XDG_DATA_HOME/backgrounds/* | shuf -n 1`' -- cgit v1.2.3