Selaa lähdekoodia

points unit sign

systemd-xsession
vanhempi
commit
70d64b2423
5 muutettua tiedostoa jossa 14 lisäystä ja 10 poistoa
  1. +0
    -5
      tasks/eralitex.yaml
  2. +2
    -0
      tasks/main.yaml
  3. +7
    -0
      tasks/points.yaml
  4. +3
    -3
      templates/i3.config.j2
  5. +2
    -2
      vars/main.yaml

+ 0
- 5
tasks/eralitex.yaml Näytä tiedosto

@@ -88,11 +88,6 @@
src: "{{eralitex_profile}}"
state: link

- name: points counter
copy:
content: 0
dest: "{{eralitex_directory}}/points"
force: no

- name: background image directory
file:


+ 2
- 0
tasks/main.yaml Näytä tiedosto

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

- import_tasks: points.yaml

- import_tasks: eralitex.yaml
when: home_eralitex
- import_tasks: x11.yaml


+ 7
- 0
tasks/points.yaml Näytä tiedosto

@@ -0,0 +1,7 @@
---

- name: points counter
copy:
content: 0
dest: "{{eralitex_directory}}/points"
force: no

+ 3
- 3
templates/i3.config.j2 Näytä tiedosto

@@ -96,11 +96,11 @@ bindsym $mod+r mode resize
bindsym $mod+x exec xkill

# 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
#exec {{eralitex_points_down_command}}
#exec {{points_down_command}}


## stuff that is available in default and remote mode


+ 2
- 2
vars/main.yaml Näytä tiedosto

@@ -112,8 +112,8 @@ eralitex_letter_workspace_keymaps:
- keysym: ssharp
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_command: feh --no-fehbg --bg-fill {{eralitex_background_image_path}}