Add mpv setup
This commit is contained in:
parent
2105119e2e
commit
e64c4a9879
4 changed files with 21 additions and 2 deletions
|
|
@ -28,7 +28,7 @@
|
||||||
# - pacman setup depending on platform (see include section for common options)
|
# - pacman setup depending on platform (see include section for common options)
|
||||||
# - laptop power saving configuration
|
# - laptop power saving configuration
|
||||||
|
|
||||||
- include_tasks: mpv.yml # TODO
|
- include_tasks: mpv.yml
|
||||||
- include_tasks: mpd.yml # TODO
|
- include_tasks: mpd.yml # TODO
|
||||||
- include_tasks: nfs.yml # TODO
|
- include_tasks: nfs.yml # TODO
|
||||||
- include_tasks: postgres.yml # TODO
|
- include_tasks: postgres.yml # TODO
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
- name: create configuration directory
|
||||||
|
file:
|
||||||
|
path: "{{ ansible_env.HOME }}/.config/mpv"
|
||||||
|
state: directory
|
||||||
|
mode: "0700"
|
||||||
|
|
||||||
|
- name: copy configuration files
|
||||||
|
template:
|
||||||
|
src: "{{ item.src }}"
|
||||||
|
dest: "{{ item.dest }}"
|
||||||
|
mode: "0644"
|
||||||
|
loop:
|
||||||
|
- {
|
||||||
|
src: "mpv/input.j2",
|
||||||
|
dest: "{{ ansible_env.HOME }}/.config/mpv/input.conf",
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
src: "mpv/config.j2",
|
||||||
|
dest: "{{ ansible_env.HOME }}/.config/mpv/mpv.conf",
|
||||||
|
}
|
||||||
|
|
@ -25,4 +25,3 @@ j cycle sub # cycle through subtitles
|
||||||
f cycle fullscreen # toggle fullscreen
|
f cycle fullscreen # toggle fullscreen
|
||||||
s screenshot # take a screenshot
|
s screenshot # take a screenshot
|
||||||
S screenshot video # ...without subtitles
|
S screenshot video # ...without subtitles
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue