@@ -8,6 +8,7 @@ | |||||
- import_tasks: pulseaudio.yaml | - import_tasks: pulseaudio.yaml | ||||
- import_tasks: screensaver.yaml | - import_tasks: screensaver.yaml | ||||
- import_tasks: git.yaml | - import_tasks: git.yaml | ||||
- import_tasks: timer.yaml | |||||
- import_tasks: kanboard.yaml | - import_tasks: kanboard.yaml | ||||
@@ -0,0 +1,16 @@ | |||||
--- | |||||
- name: timer directory | |||||
file: | |||||
path: "{{timer_folder}}" | |||||
state: directory | |||||
- name: timer activity timeclock directory | |||||
file: | |||||
path: "{{timer_folder}}/activity.timeclock.d" | |||||
state: directory | |||||
- name: timer activity list directory | |||||
file: | |||||
path: "{{timer_folder}}/activity.lists" | |||||
state: directory |
@@ -217,9 +217,8 @@ mode "session" { | |||||
### Timer | ### Timer | ||||
mode "timer" { | mode "timer" { | ||||
bindsym a exec "~/bin/timer activity"; mode "default"; {{on_focus_workspace}} | |||||
bindsym e exec "~/bin/timer end"; mode "default"; {{on_focus_workspace}} | |||||
bindsym r exec "~/bin/timer update"; mode "default"; {{on_focus_workspace}} | |||||
bindsym a exec "~/bin/timer select_activity"; mode "default"; {{on_focus_workspace}} | |||||
bindsym e exec "~/bin/timer end_activity"; mode "default"; {{on_focus_workspace}} | |||||
bindsym u exec "~/bin/timer uniklinik"; mode "default"; {{on_focus_workspace}} | bindsym u exec "~/bin/timer uniklinik"; mode "default"; {{on_focus_workspace}} | ||||
# back to normal: Escape | # back to normal: Escape | ||||
@@ -130,3 +130,5 @@ points_down_command: fish -c "echo (expr (cat ~/.points) - 1 > ~/.points) (rofi | |||||
background_image_path: ~/.backgrounds/{{background_image|basename}} | 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 |