diff --git a/roles/home-gui/files/xclock.desktop b/roles/home-gui/files/xclock.desktop new file mode 100755 index 0000000..5efd289 --- /dev/null +++ b/roles/home-gui/files/xclock.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Name=XClock +GenericName=Clock +Comment=On-screen analogue clock +Exec=xclock -geometry 300x300-0-0 +Icon=clock +Terminal=false +Type=Application +Categories=Utility; +StartupNotify=false +Hidden=false +X-GNOME-Autostart-enabled=true diff --git a/roles/home-gui/tasks/dotfiles.yml b/roles/home-gui/tasks/dotfiles.yml index 7fdba8e..7117eb9 100644 --- a/roles/home-gui/tasks/dotfiles.yml +++ b/roles/home-gui/tasks/dotfiles.yml @@ -23,3 +23,7 @@ copy: src: remmina-applet.desktop dest: "{{ ansible_env.HOME }}/.config/autostart/remmina-applet.desktop" +- name: Auto-start XClock + copy: + src: xclock.desktop + dest: "{{ ansible_env.HOME }}/.config/autostart/xclock.desktop"