@@ -88,11 +88,6 @@ | |||||
src: "{{eralitex_profile}}" | src: "{{eralitex_profile}}" | ||||
state: link | state: link | ||||
- name: points counter | |||||
copy: | |||||
content: 0 | |||||
dest: "{{eralitex_directory}}/points" | |||||
force: no | |||||
- name: background image directory | - name: background image directory | ||||
file: | file: | ||||
@@ -7,6 +7,8 @@ | |||||
- import_tasks: pulseaudio.yaml | - import_tasks: pulseaudio.yaml | ||||
- import_tasks: git.yaml | - import_tasks: git.yaml | ||||
- import_tasks: points.yaml | |||||
- import_tasks: eralitex.yaml | - import_tasks: eralitex.yaml | ||||
when: home_eralitex | when: home_eralitex | ||||
- import_tasks: x11.yaml | - import_tasks: x11.yaml | ||||
@@ -0,0 +1,7 @@ | |||||
--- | |||||
- name: points counter | |||||
copy: | |||||
content: 0 | |||||
dest: "{{eralitex_directory}}/points" | |||||
force: no |
@@ -96,11 +96,11 @@ bindsym $mod+r mode resize | |||||
bindsym $mod+x exec xkill | bindsym $mod+x exec xkill | ||||
# points | # points | ||||
bindsym $mod+minus exec {{eralitex_points_down_command}} | |||||
bindsym $mod+plus exec {{eralitex_points_up_command}} | |||||
bindsym $mod+minus exec {{points_down_command}} | |||||
bindsym $mod+plus exec {{points_up_command}} | |||||
# unlearn | # unlearn | ||||
#exec {{eralitex_points_down_command}} | |||||
#exec {{points_down_command}} | |||||
## stuff that is available in default and remote mode | ## stuff that is available in default and remote mode | ||||
@@ -112,8 +112,8 @@ eralitex_letter_workspace_keymaps: | |||||
- keysym: ssharp | - keysym: ssharp | ||||
workspace: 52:ß | workspace: 52:ß | ||||
eralitex_points_up_command: fish -c "echo (expr (cat ~/.eralitex/points) + 1 > ~/.eralitex/points) (i3-nagbar -m (cat ~/.eralitex/points)\ €)" | |||||
eralitex_points_down_command: fish -c "echo (expr (cat ~/.eralitex/points) - 1 > ~/.eralitex/points) (i3-nagbar -m (cat ~/.eralitex/points)\ €)" | |||||
points_up_command: fish -c "echo (expr (cat ~/.eralitex/points) + 1 > ~/.eralitex/points) (i3-nagbar -m (cat ~/.eralitex/points)\ Ω)" | |||||
points_down_command: fish -c "echo (expr (cat ~/.eralitex/points) - 1 > ~/.eralitex/points) (i3-nagbar -m (cat ~/.eralitex/points)\ Ω)" | |||||
eralitex_background_image_path: "{{eralitex_directory}}/backgrounds/{{eralitex_background_image|basename}}" | eralitex_background_image_path: "{{eralitex_directory}}/backgrounds/{{eralitex_background_image|basename}}" | ||||
eralitex_background_command: feh --no-fehbg --bg-fill {{eralitex_background_image_path}} | eralitex_background_command: feh --no-fehbg --bg-fill {{eralitex_background_image_path}} |