|
|
|
@ -5,10 +5,6 @@
|
|
|
|
|
cmd: "echo $DESKTOP_SESSION"
|
|
|
|
|
register: session_running
|
|
|
|
|
|
|
|
|
|
- name: General Changes | Debug session_running
|
|
|
|
|
debug:
|
|
|
|
|
var: session_running
|
|
|
|
|
|
|
|
|
|
- name: General Changes | Stop execution if xfce session is not running
|
|
|
|
|
fail:
|
|
|
|
|
msg: "xfce session is not running"
|
|
|
|
@ -72,14 +68,6 @@
|
|
|
|
|
cmd: "xfconf-query -c xfce4-desktop -l | grep 'last-image$'"
|
|
|
|
|
register: wallpaper_property
|
|
|
|
|
|
|
|
|
|
- name: Debug | Debug wallpaper_property
|
|
|
|
|
debug:
|
|
|
|
|
var: wallpaper_property
|
|
|
|
|
|
|
|
|
|
- name: Debug | Debug wallpaper_property.stdout_lines
|
|
|
|
|
debug:
|
|
|
|
|
var: wallpaper_property.stdout_lines[0]
|
|
|
|
|
|
|
|
|
|
- name: General Changes | Change wallpaper
|
|
|
|
|
xfconf:
|
|
|
|
|
channel: "xfce4-desktop"
|
|
|
|
|