Mises à jour diverses

This commit is contained in:
Breizh 2021-04-28 12:05:43 +02:00
parent d2f0ec45de
commit ff9b09310b
3 changed files with 18 additions and 13 deletions

View File

@ -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}

View File

@ -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

View File

@ -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