Browse Source

timer config

pull/1/head
parent
commit
78b197794e
2 changed files with 6 additions and 0 deletions
  1. +5
    -0
      tasks/timer.yaml
  2. +1
    -0
      vars/main.yaml

+ 5
- 0
tasks/timer.yaml View File

@@ -5,6 +5,11 @@
path: "{{timer_folder}}" path: "{{timer_folder}}"
state: directory state: directory


- name: timer config
copy:
content: "{{timer_config}}"
dest: "{{timer_folder}}/config.json"

- name: timer activity timeclock directory - name: timer activity timeclock directory
file: file:
path: "{{timer_folder}}/activity.timeclock.d" path: "{{timer_folder}}/activity.timeclock.d"


+ 1
- 0
vars/main.yaml View File

@@ -132,3 +132,4 @@ background_image_path: ~/.backgrounds/{{background_image|basename}}
background_command: feh --no-fehbg --bg-fill {{background_image_path}} background_command: feh --no-fehbg --bg-fill {{background_image_path}}


timer_folder: ~/.timer timer_folder: ~/.timer
timer_config: {}