include:
- tmux.{{ grains['os'] |lower }}
+ - local
tmux configuration:
file.managed:
- user: {{ grains['user'] }}
- group: {{ grains['user'] }}
- mode: 640
+
+wm_paste:
+ file.managed:
+ - name: {{ grains['homedir'] }}/.local/bin/wm_paste
+ - source: salt://tmux/files/wm_paste
+ - user: {{ grains['user'] }}
+ - group: {{ grains['user'] }}
+ - mode: 750
+
+wm_copy:
+ file.managed:
+ - name: {{ grains['homedir'] }}/.local/bin/wm_copy
+ - source: salt://tmux/files/wm_copy
+ - user: {{ grains['user'] }}
+ - group: {{ grains['user'] }}
+ - mode: 750