diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-10 13:30:00 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-10 13:30:00 +0100 |
commit | 23a64c858c206074265bf2b57129854439faf292 (patch) | |
tree | 9b32f1dca5859228d8f01b0ef755e7ab45e5c111 | |
parent | eac82f289d503c5bcc0d1e04784d027745d371c6 (diff) | |
download | Ansible-23a64c858c206074265bf2b57129854439faf292.tar.gz Ansible-23a64c858c206074265bf2b57129854439faf292.tar.zst Ansible-23a64c858c206074265bf2b57129854439faf292.zip |
Add gpicview and htop
-rw-r--r-- | roles/lxde/files/config_files/gpicview/gpicview.conf | 12 | ||||
-rw-r--r-- | roles/lxde/tasks/main.yml | 1 | ||||
-rw-r--r-- | roles/tools/files/htop/htoprc | 26 | ||||
-rw-r--r-- | roles/tools/files/mplayer/config (renamed from roles/tools/files/mplayer) | 0 | ||||
-rw-r--r-- | roles/tools/tasks/main.yml | 9 |
5 files changed, 45 insertions, 3 deletions
diff --git a/roles/lxde/files/config_files/gpicview/gpicview.conf b/roles/lxde/files/config_files/gpicview/gpicview.conf new file mode 100644 index 0000000..da20a43 --- /dev/null +++ b/roles/lxde/files/config_files/gpicview/gpicview.conf | |||
@@ -0,0 +1,12 @@ | |||
1 | [General] | ||
2 | auto_save_rotated=0 | ||
3 | ask_before_save=1 | ||
4 | ask_before_delete=1 | ||
5 | rotate_exif_only=1 | ||
6 | open_maximized=1 | ||
7 | bg=#ffffff | ||
8 | bg_full=#000000 | ||
9 | slide_delay=5 | ||
10 | jpg_quality=90 | ||
11 | png_compression=9 | ||
12 | show_toolbar=1 | ||
diff --git a/roles/lxde/tasks/main.yml b/roles/lxde/tasks/main.yml index 1660787..b91e84a 100644 --- a/roles/lxde/tasks/main.yml +++ b/roles/lxde/tasks/main.yml | |||
@@ -19,6 +19,7 @@ | |||
19 | - lxsession-default-apps/settings.conf | 19 | - lxsession-default-apps/settings.conf |
20 | - lxsession/LXDE/autostart | 20 | - lxsession/LXDE/autostart |
21 | - lxsession/LXDE/desktop.conf | 21 | - lxsession/LXDE/desktop.conf |
22 | - gpicview/gpicview.conf | ||
22 | - xinitrc | 23 | - xinitrc |
23 | loop_control: | 24 | loop_control: |
24 | loop_var: lxde_config_item | 25 | loop_var: lxde_config_item |
diff --git a/roles/tools/files/htop/htoprc b/roles/tools/files/htop/htoprc new file mode 100644 index 0000000..6851f4d --- /dev/null +++ b/roles/tools/files/htop/htoprc | |||
@@ -0,0 +1,26 @@ | |||
1 | # Beware! This file is rewritten by htop when settings are changed in the interface. | ||
2 | # The parser is also very primitive, and not human-friendly. | ||
3 | fields=0 48 17 18 38 39 40 2 46 47 49 1 | ||
4 | sort_key=47 | ||
5 | sort_direction=1 | ||
6 | hide_threads=0 | ||
7 | hide_kernel_threads=1 | ||
8 | hide_userland_threads=0 | ||
9 | shadow_other_users=0 | ||
10 | show_thread_names=0 | ||
11 | show_program_path=1 | ||
12 | highlight_base_name=0 | ||
13 | highlight_megabytes=1 | ||
14 | highlight_threads=1 | ||
15 | tree_view=0 | ||
16 | header_margin=1 | ||
17 | detailed_cpu_time=0 | ||
18 | cpu_count_from_zero=0 | ||
19 | update_process_names=0 | ||
20 | account_guest_in_cpu_meter=0 | ||
21 | color_scheme=0 | ||
22 | delay=15 | ||
23 | left_meters=LeftCPUs Memory Swap | ||
24 | left_meter_modes=1 1 1 | ||
25 | right_meters=RightCPUs Tasks LoadAverage Uptime | ||
26 | right_meter_modes=1 2 2 2 | ||
diff --git a/roles/tools/files/mplayer b/roles/tools/files/mplayer/config index 21cf775..21cf775 100644 --- a/roles/tools/files/mplayer +++ b/roles/tools/files/mplayer/config | |||
diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml index 9d23619..dd52f67 100644 --- a/roles/tools/tasks/main.yml +++ b/roles/tools/tasks/main.yml | |||
@@ -5,10 +5,13 @@ | |||
5 | loop: | 5 | loop: |
6 | - git | 6 | - git |
7 | - gnupg | 7 | - gnupg |
8 | - name: mplayer config file | 8 | - name: config files |
9 | copy: | 9 | copy: |
10 | src: mplayer | 10 | src: "{{ item }}" |
11 | dest: $XDG_CONFIG_HOME/mplayer/config | 11 | dest: "$XDG_CONFIG_HOME/{{ item }}" |
12 | loop: | ||
13 | - htop/htoprc | ||
14 | - mplayer/config | ||
12 | - name: postgresql | 15 | - name: postgresql |
13 | block: | 16 | block: |
14 | - name: psql config file | 17 | - name: psql config file |