浏览代码

points unit sign

systemd-xsession
父节点
当前提交
70d64b2423
共有 5 个文件被更改,包括 14 次插入10 次删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

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

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

+ 3
- 3
templates/i3.config.j2 查看文件

@@ -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 查看文件

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