]> git.immae.eu Git - perso/Immae/Config/Ansible.git/commitdiff
Add gpicview and htop
authorIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 10 Nov 2018 12:30:00 +0000 (13:30 +0100)
committerIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 10 Nov 2018 12:30:00 +0000 (13:30 +0100)
roles/lxde/files/config_files/gpicview/gpicview.conf [new file with mode: 0644]
roles/lxde/tasks/main.yml
roles/tools/files/htop/htoprc [new file with mode: 0644]
roles/tools/files/mplayer/config [moved from roles/tools/files/mplayer with 100% similarity]
roles/tools/tasks/main.yml

diff --git a/roles/lxde/files/config_files/gpicview/gpicview.conf b/roles/lxde/files/config_files/gpicview/gpicview.conf
new file mode 100644 (file)
index 0000000..da20a43
--- /dev/null
@@ -0,0 +1,12 @@
+[General]
+auto_save_rotated=0
+ask_before_save=1
+ask_before_delete=1
+rotate_exif_only=1
+open_maximized=1
+bg=#ffffff
+bg_full=#000000
+slide_delay=5
+jpg_quality=90
+png_compression=9
+show_toolbar=1
index 16607874335e809490e0932dfb11ee5048fd306a..b91e84a6f94239d350a6efeec4311d15da6f8264 100644 (file)
@@ -19,6 +19,7 @@
     - lxsession-default-apps/settings.conf
     - lxsession/LXDE/autostart
     - lxsession/LXDE/desktop.conf
+    - gpicview/gpicview.conf
     - xinitrc
   loop_control:
     loop_var: lxde_config_item
diff --git a/roles/tools/files/htop/htoprc b/roles/tools/files/htop/htoprc
new file mode 100644 (file)
index 0000000..6851f4d
--- /dev/null
@@ -0,0 +1,26 @@
+# Beware! This file is rewritten by htop when settings are changed in the interface.
+# The parser is also very primitive, and not human-friendly.
+fields=0 48 17 18 38 39 40 2 46 47 49 1
+sort_key=47
+sort_direction=1
+hide_threads=0
+hide_kernel_threads=1
+hide_userland_threads=0
+shadow_other_users=0
+show_thread_names=0
+show_program_path=1
+highlight_base_name=0
+highlight_megabytes=1
+highlight_threads=1
+tree_view=0
+header_margin=1
+detailed_cpu_time=0
+cpu_count_from_zero=0
+update_process_names=0
+account_guest_in_cpu_meter=0
+color_scheme=0
+delay=15
+left_meters=LeftCPUs Memory Swap
+left_meter_modes=1 1 1
+right_meters=RightCPUs Tasks LoadAverage Uptime
+right_meter_modes=1 2 2 2
index 9d23619fd5b8947eb8bd98770686015a4c1c5340..dd52f67d578ca100015b8593025609a055fa1e4b 100644 (file)
@@ -5,10 +5,13 @@
   loop:
     - git
     - gnupg
-- name: mplayer config file
+- name: config files
   copy:
-    src: mplayer
-    dest: $XDG_CONFIG_HOME/mplayer/config
+    src: "{{ item }}"
+    dest: "$XDG_CONFIG_HOME/{{ item }}"
+  loop:
+    - htop/htoprc
+    - mplayer/config
 - name: postgresql
   block:
     - name: psql config file