Add a launcher for the to-do list
This commit is contained in:
parent
6572974d49
commit
74210dcea8
2 changed files with 12 additions and 0 deletions
|
@ -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"
|
||||||
|
|
8
roles/home-gui/templates/todo.desktop
Normal file
8
roles/home-gui/templates/todo.desktop
Normal 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
|
Loading…
Reference in a new issue