From 3aeee05d65d3a74c5342ebce05b13527c2f2febe Mon Sep 17 00:00:00 2001 From: Breizh Date: Wed, 28 Apr 2021 12:05:43 +0200 Subject: [PATCH] =?UTF-8?q?Mises=20=C3=A0=20jour=20diverses?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/conky/conkyrc2 | 2 +- .config/htop/htoprc | 18 +++++++++--------- .config/i3/config | 11 ++++++++--- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/.config/conky/conkyrc2 b/.config/conky/conkyrc2 index 981bd3c..bdba9ab 100644 --- a/.config/conky/conkyrc2 +++ b/.config/conky/conkyrc2 @@ -76,7 +76,7 @@ $alignc${scroll left 39 2 1 ${v6addrs tun0 -n -s}} ${endif} ${color2}${font2}Capteurs $hr$font$color${voffset 2} CPU${goto 140}${if_match ${execi 5 sensors -j | jq '."zenpower-pci-00c3"."Tdie"."temp1_input"'}>70}${color F2777A}$endif${execi 5 sensors -j | jq '."zenpower-pci-00c3"."Tdie"."temp1_input"' | cut -d. -f1}°C${color} -Pièce${goto 140}${if_match ${execi 5 sensors -j | jq '."it8686-isa-0a60"."temp2"."temp2_input"'}>=25}${color F2777A}$endif${execi 5 sensors -j | jq '."it8686-isa-0a60"."temp2"."temp2_input"' | cut -d. -f1}°C${color} +Pièce${goto 140}${if_match ${execi 5 sensors -j | jq '."it8686-isa-0a60"."room"."temp2_input"'}>=25}${color F2777A}$endif${execi 5 sensors -j | jq '."it8686-isa-0a60"."room"."temp2_input"' | cut -d. -f1}°C${color} ${color2}${font2}Notes $hr$font$color${voffset 2} ${catp /home/breizh/notes} diff --git a/.config/htop/htoprc b/.config/htop/htoprc index 01357c6..4560d6c 100644 --- a/.config/htop/htoprc +++ b/.config/htop/htoprc @@ -1,13 +1,13 @@ # 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 17 18 48 49 39 113 109 110 46 47 2 1 -sort_key=46 +fields=0 17 18 48 49 39 113 111 109 110 46 47 2 1 +sort_key=111 sort_direction=1 tree_sort_key=0 tree_sort_direction=1 hide_kernel_threads=1 hide_userland_threads=1 -shadow_other_users=1 +shadow_other_users=0 show_thread_names=1 show_program_path=1 highlight_base_name=1 @@ -22,9 +22,9 @@ tree_view=1 tree_view_always_by_pid=0 header_margin=1 detailed_cpu_time=1 -cpu_count_from_one=1 +cpu_count_from_one=0 show_cpu_usage=1 -show_cpu_frequency=1 +show_cpu_frequency=0 show_cpu_temperature=0 degree_fahrenheit=0 update_process_names=0 @@ -32,8 +32,8 @@ account_guest_in_cpu_meter=0 color_scheme=0 enable_mouse=0 delay=15 -left_meters=LeftCPUs2 Blank CPU Memory Swap Blank Tasks -left_meter_modes=1 2 1 1 1 2 2 -right_meters=RightCPUs2 Blank CPU Memory LoadAverage Blank Clock Uptime -right_meter_modes=1 2 2 2 2 2 2 2 +left_meters=LeftCPUs2 Blank CPU Memory Swap Zram Blank Tasks Blank DiskIO NetworkIO +left_meter_modes=1 2 1 1 1 1 2 2 2 2 2 +right_meters=RightCPUs2 Blank CPU Memory LoadAverage Blank Clock Uptime Blank Systemd +right_meter_modes=1 2 2 2 2 2 2 2 2 2 hide_function_bar=0 diff --git a/.config/i3/config b/.config/i3/config index d278d50..5dc237b 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -101,8 +101,10 @@ bindsym $mod+Ctrl+m exec pavucontrol bindsym $mod+Home exec --no-startup-id pkill -x -USR1 redshift # Volume controls -bindsym XF86AudioRaiseVolume exec --no-startup-id button=4 ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks -bindsym XF86AudioLowerVolume exec --no-startup-id button=5 ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks +bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id button=4 ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks +bindsym Shift+XF86AudioLowerVolume exec --no-startup-id button=5 ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks +bindsym XF86AudioRaiseVolume exec --no-startup-id mpc volume +2 +bindsym XF86AudioLowerVolume exec --no-startup-id mpc volume -2 bindsym XF86AudioMute exec --no-startup-id button=2 ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks bindsym XF86AudioMicMute exec --no-startup-id button=2 instance=mic ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks bindsym XF86HomePage exec --no-startup-id button=2 instance=mic ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks @@ -285,13 +287,16 @@ for_window [class="Pavucontrol"] floating enable for_window [class="qt5ct"] floating enable sticky enable border normal for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal for_window [class="(?i)TransportFever2"] border none fullscreen disable -for_window [class="(?i)factorio"] border none for_window [class="(?i)System-config-printer.py"] floating enable border normal for_window [class="(?i)variety"] floating enable # switch to workspace with urgent window automatically for_window [urgent=latest] focus for_window [instance="newsboat"] move scratchpad +# Games +for_window [class="(?i)factorio"] border none +for_window [class="(?i)Rail Route.x86"] border none + # reload the configuration file bindsym $mod+Shift+c reload