Add a launcher for the to-do list

This commit is contained in:
Anthony Rose 2020-06-11 11:09:17 +01:00
parent 6572974d49
commit 74210dcea8
2 changed files with 12 additions and 0 deletions

View file

@ -31,3 +31,7 @@
src: "xrdb.desktop" src: "xrdb.desktop"
dest: "{{ ansible_env.HOME }}/.config/autostart/xrdb.desktop" dest: "{{ ansible_env.HOME }}/.config/autostart/xrdb.desktop"
when: ansible_distribution == "Fedora" or ansible_distribution == "Debian" when: ansible_distribution == "Fedora" or ansible_distribution == "Debian"
- name: Add to-do list launcher
template:
src: todo.desktop
dest: "{{ ansible_env.HOME }}/.local/share/applications/todo.desktop"

View file

@ -0,0 +1,8 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=To-do list
Exec=/usr/bin/xdg-open {{ ansible_env.HOME }}/.todo.org
Icon=task-due
Type=Application
Categories=Office