From 23a64c858c206074265bf2b57129854439faf292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 10 Nov 2018 13:30:00 +0100 Subject: Add gpicview and htop --- .../lxde/files/config_files/gpicview/gpicview.conf | 12 ++++++++++ roles/lxde/tasks/main.yml | 1 + roles/tools/files/htop/htoprc | 26 ++++++++++++++++++++++ roles/tools/files/mplayer | 3 --- roles/tools/files/mplayer/config | 3 +++ roles/tools/tasks/main.yml | 9 +++++--- 6 files changed, 48 insertions(+), 6 deletions(-) create mode 100644 roles/lxde/files/config_files/gpicview/gpicview.conf create mode 100644 roles/tools/files/htop/htoprc delete mode 100644 roles/tools/files/mplayer create mode 100644 roles/tools/files/mplayer/config 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 @@ +[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 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 @@ - 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 index 0000000..6851f4d --- /dev/null +++ b/roles/tools/files/htop/htoprc @@ -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 diff --git a/roles/tools/files/mplayer b/roles/tools/files/mplayer deleted file mode 100644 index 21cf775..0000000 --- a/roles/tools/files/mplayer +++ /dev/null @@ -1,3 +0,0 @@ -# Write your default config options here! - - diff --git a/roles/tools/files/mplayer/config b/roles/tools/files/mplayer/config new file mode 100644 index 0000000..21cf775 --- /dev/null +++ b/roles/tools/files/mplayer/config @@ -0,0 +1,3 @@ +# Write your default config options here! + + 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 @@ 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 -- cgit v1.2.3