Markus Katharina Brechtel преди 3 години
родител
ревизия
85c761bf69
променени са 4 файла, в които са добавени 21 реда и са изтрити 3 реда
  1. +1
    -0
      tasks/main.yaml
  2. +16
    -0
      tasks/timer.yaml
  3. +2
    -3
      templates/i3/i3.config.j2
  4. +2
    -0
      vars/main.yaml

+ 1
- 0
tasks/main.yaml Целия файл

@@ -8,6 +8,7 @@
- import_tasks: pulseaudio.yaml
- import_tasks: screensaver.yaml
- import_tasks: git.yaml
- import_tasks: timer.yaml

- import_tasks: kanboard.yaml



+ 16
- 0
tasks/timer.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

+ 2
- 3
templates/i3/i3.config.j2 Целия файл

@@ -217,9 +217,8 @@ mode "session" {

### 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}}

# back to normal: Escape


+ 2
- 0
vars/main.yaml Целия файл

@@ -130,3 +130,5 @@ points_down_command: fish -c "echo (expr (cat ~/.points) - 1 > ~/.points) (rofi

background_image_path: ~/.backgrounds/{{background_image|basename}}
background_command: feh --no-fehbg --bg-fill {{background_image_path}}

timer_folder: ~/.timer