Mise à jour des templates CPU du Conky

This commit is contained in:
Breizh 2024-12-24 20:45:14 +01:00
parent 297e95bcd1
commit e085f3514f
10 changed files with 44 additions and 28 deletions

View file

@ -31,8 +31,8 @@ conky.config = {
color2 = '#F2F0EC',
font2 = 'xos4 Terminus:pixelsize=14',
--template0 = [[${cpubar cpu\1 6,60}${offset 5}]],
template0 = [[${cpubar cpu\1 6,125}${goto 140}${cpubar cpu\2}]],
template0 = [[${if_match ${cpu cpu\1}>75}${color F2777A}$else${if_match ${cpu cpu\1}>50}${color FFCC66}$else${color}$endif$endif${cpubar cpu\1 6,61}${goto 71}${if_match ${cpu cpu\2}>75}${color F2777A}$else${if_match ${cpu cpu\2}>50}${color FFCC66}$else${color}$endif$endif${cpubar cpu\2 6,61}${goto 137}${if_match ${cpu cpu\3}>75}${color F2777A}$else${if_match ${cpu cpu\3}>50}${color FFCC66}$else${color}$endif$endif${cpubar cpu\3 6,61}${goto 203}${if_match ${cpu cpu\4}>75}${color F2777A}$else${if_match ${cpu cpu\4}>50}${color FFCC66}$else${color}$endif$endif${cpubar cpu\4 6,61}$color]],
template4 = [[${voffset -2}${goto 12}${if_match ${freq \1}>=4000}${color F2777A}$else${if_match ${freq \1}>=3000}${color FFCC66}$else${if_match ${freq \1}>=2000}${color 99CC99}$else${color}$endif$endif$endif${freq_g \1} GHz${goto 78}${if_match ${freq \2}>=4000}${color F2777A}$else${if_match ${freq \2}>=3000}${color FFCC66}$else${if_match ${freq \2}>=2000}${color 99CC99}$else${color}$endif$endif$endif${freq_g \2} GHz${goto 144}${if_match ${freq \3}>=4000}${color F2777A}$else${if_match ${freq \3}>=3000}${color FFCC66}$else${if_match ${freq \3}>=2000}${color 99CC99}$else${color}$endif$endif$endif${freq_g \3} GHz${goto 210}${if_match ${freq \4}>=4000}${color F2777A}$else${if_match ${freq \4}>=3000}${color FFCC66}$else${if_match ${freq \4}>=2000}${color 99CC99}$else${color}$endif$endif$endif${freq_g \4} GHz${voffset 5}$color]],
template1 = [[${top pid \1} ${top name \1}$alignr${top cpu \1}%]],
template2 = [[${top_io pid \1} ${top_io name \1}$alignr${top_io io_perc \1}%]],
template3 = [[${scroll wait 20 1 2 \2} ${goto 140}${if_match ${fs_used_perc \1}>90}${color F2777A}$else${if_match ${fs_used_perc \1}>75}${color FFCC66}$else${color 99CC99}$endif$endif${fs_bar \1}${color}\nUtilisé : ${fs_used \1}${goto 140}Libre: ${fs_free \1}\nTaux ut.: ${fs_used_perc \1}%${goto 140}Total: ${fs_size \1}]]
@ -50,12 +50,12 @@ Utilisation: $cpu%${goto 140}${if_match $cpu>90}${color F2777A}$else${if_match $
#${freq 5} MHz${goto 70}${freq 6} Mhz${goto 135}${freq 7} MHz${goto 200}${freq 8} MHz
#${template0 9}${template0 10}${template0 11}${template0 12}
#${freq 9} MHz${goto 70}${freq 10} Mhz${goto 135}${freq 11} MHz${goto 200}${freq 12} MHz
${template0 1 7}
${template0 2 8}
${template0 3 9}
${template0 4 10}
${template0 5 11}
${template0 6 12}
${template0 1 2 3 4}
${template4 1 2 3 4}
${template0 5 6 7 8}
${template4 5 6 7 8}
${template0 9 10 11 12}
${template4 9 10 11 12}
${template1 1}
${template1 2}
@ -99,7 +99,7 @@ ${template3 /mnt/data /mnt/data}
${template3 /mnt/backup /mnt/backup}
${template3 /home/minecraft /home/minecraft}
${template3 /boot /boot}
${template3 /tmp /tmp}

View file

@ -21,19 +21,27 @@
### Geometry ###
# The width of the window, excluding the frame.
# dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
width = (0, 1128)
# The maximum height of a single notification, excluding the frame.
height = 200
# The height of a single notification, excluding the frame.
# dynamic height from 0 to 300
height = (0, 300)
# constant height of 300
# height = 300
# NOTE: Dunst from version 1.11 and older don't support dynamic height
# and the given value is treated as the maximum height
# Position the notification in the top right corner
origin = top-left
# Offset from the origin
offset = 580x20
# NOTE: Dunst from version 1.11 and older use this alternative notation
# offset = 10x50
offset = (580, 20)
# Scale factor. It is auto-detected if value is 0.
scale = 0
@ -337,16 +345,16 @@
foreground = "#D3D0C8"
frame_color = "#A09F93"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
# Icon for notifications with low urgency
default_icon = dialog-information
[urgency_normal]
background = "#2D2D2D"
foreground = "#D3D0C8"
frame_color = "#6699CC"
timeout = 15
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
# Icon for notifications with normal urgency
default_icon = dialog-information
[urgency_critical]
background = "#2D2D2D"
@ -354,8 +362,8 @@
frame_color = "#F2777A"
timeout = 0
override_pause_level = 60
# Icon for notifications with critical urgency, uncomment to enable
#default_icon = /path/to/icon
# Icon for notifications with critical urgency
default_icon = dialog-warning
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.

View file

@ -1,6 +1,6 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
htop_version=3.2.2
htop_version=3.3.0
config_reader_min_version=3
fields=0 48 17 18 113 38 39 40 119 111 2 46 47 49 1
hide_kernel_threads=1
@ -38,7 +38,7 @@ column_meters_0=LeftCPUs2 Blank CPU Memory Swap Blank Hostname System DateTime B
column_meter_modes_0=1 2 1 1 1 2 2 2 2 2 2 2 2 2 2
column_meters_1=RightCPUs2 Blank CPU Memory Swap Blank Uptime LoadAverage Tasks Blank DiskIO NetworkIO Blank PressureStallMemoryFull PressureStallIOFull
column_meter_modes_1=1 2 2 2 2 2 2 2 2 2 2 2 2 2 2
tree_view=1
tree_view=0
sort_key=47
tree_sort_key=0
sort_direction=-1
@ -48,16 +48,16 @@ all_branches_collapsed=0
screen:Main=PID USER PRIORITY NICE OOM M_VIRT M_RESIDENT M_SHARE M_SWAP IO_RATE STATE PERCENT_CPU PERCENT_MEM TIME Command
.sort_key=PERCENT_MEM
.tree_sort_key=PID
.tree_view=1
.tree_view_always_by_pid=0
.tree_view=0
.sort_direction=-1
.tree_sort_direction=1
.all_branches_collapsed=0
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
.sort_key=IO_RATE
.tree_sort_key=PID
.tree_view=0
.tree_view_always_by_pid=0
.tree_view=0
.sort_direction=-1
.tree_sort_direction=1
.all_branches_collapsed=0

View file

@ -298,7 +298,6 @@ for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal
for_window [class="(?i)TransportFever2"] border none fullscreen disable
for_window [class="(?i)System-config-printer.py"] floating enable border normal
for_window [class="(?i)variety"] floating enable
for_window [class="(?i)steam_app_1454400"] border none
# switch to workspace with urgent window automatically
for_window [urgent=latest] focus
for_window [instance="newsboat"] move scratchpad

View file

@ -79,7 +79,7 @@ sticker_file "~/.mpd/sticker.sql"
# systemd socket activiation is in use.
#
# For network
#bind_to_address "any"
bind_to_address "any"
#
# And for Unix Socket
bind_to_address "~/.mpd/socket"
@ -87,7 +87,7 @@ bind_to_address "~/.mpd/socket"
# This setting is the TCP port that is desired for the daemon to get assigned
# to.
#
#port "6600"
port "6600"
#
# Suppress all messages below the given threshold. Use "verbose" for
# troubleshooting. Available setting arguments are "notice", "info", "verbose",

View file

@ -25,7 +25,7 @@ sub-font-size=25
sub-margin-y=10
slang=en
ytdl-raw-options=write-auto-subs=
ytdl-raw-options=write-auto-subs=,netrc=
# Cache
cache=yes

View file

@ -11,7 +11,7 @@ keepdevbuilddir = no
keepbuilddeps = no
gpgdir = /etc/pacman.d/gnupg
skipfailedbuild = no
dynamicusers = root
dynamicusers =
ignorearch = no
[review]

View file

@ -34,5 +34,8 @@ set recolor-darkcolor "#e8e6df"
set recolor "false"
set recolor-keephue "false"
# Pas despace entre les pages
set page-padding 0
map D set "first-page-column 1:1"
map <C-d> set "first-page-column 1:2"

View file

@ -3,6 +3,12 @@
# Sortie à la moindre erreur
set -e
if ! loudgain
then
echo "loudgain semble non fonctionnel, peut-être besoin dune recompilation de loudgain et/ou ffmpeg6.1?"
exit 1
fi
shopt -s globstar
# Initialisation de la mise en forme

View file

@ -2,7 +2,7 @@
if [[ -f /tmp/output.png ]]
then
feh --no-fehbg --bg-center /tmp/output.png
feh --no-fehbg --bg-max /tmp/output.png
fi
cd ~/Images/clocks/Current/