summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-10 13:30:00 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-10 13:30:00 +0100
commit23a64c858c206074265bf2b57129854439faf292 (patch)
tree9b32f1dca5859228d8f01b0ef755e7ab45e5c111
parenteac82f289d503c5bcc0d1e04784d027745d371c6 (diff)
downloadAnsible-23a64c858c206074265bf2b57129854439faf292.tar.gz
Ansible-23a64c858c206074265bf2b57129854439faf292.tar.zst
Ansible-23a64c858c206074265bf2b57129854439faf292.zip
Add gpicview and htop
-rw-r--r--roles/lxde/files/config_files/gpicview/gpicview.conf12
-rw-r--r--roles/lxde/tasks/main.yml1
-rw-r--r--roles/tools/files/htop/htoprc26
-rw-r--r--roles/tools/files/mplayer/config (renamed from roles/tools/files/mplayer)0
-rw-r--r--roles/tools/tasks/main.yml9
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]
2auto_save_rotated=0
3ask_before_save=1
4ask_before_delete=1
5rotate_exif_only=1
6open_maximized=1
7bg=#ffffff
8bg_full=#000000
9slide_delay=5
10jpg_quality=90
11png_compression=9
12show_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.
3fields=0 48 17 18 38 39 40 2 46 47 49 1
4sort_key=47
5sort_direction=1
6hide_threads=0
7hide_kernel_threads=1
8hide_userland_threads=0
9shadow_other_users=0
10show_thread_names=0
11show_program_path=1
12highlight_base_name=0
13highlight_megabytes=1
14highlight_threads=1
15tree_view=0
16header_margin=1
17detailed_cpu_time=0
18cpu_count_from_zero=0
19update_process_names=0
20account_guest_in_cpu_meter=0
21color_scheme=0
22delay=15
23left_meters=LeftCPUs Memory Swap
24left_meter_modes=1 1 1
25right_meters=RightCPUs Tasks LoadAverage Uptime
26right_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