Mise à jour des templates CPU du Conky
This commit is contained in:
parent
297e95bcd1
commit
e085f3514f
10 changed files with 44 additions and 28 deletions
|
@ -31,8 +31,8 @@ conky.config = {
|
||||||
color2 = '#F2F0EC',
|
color2 = '#F2F0EC',
|
||||||
font2 = 'xos4 Terminus:pixelsize=14',
|
font2 = 'xos4 Terminus:pixelsize=14',
|
||||||
|
|
||||||
--template0 = [[${cpubar cpu\1 6,60}${offset 5}]],
|
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]],
|
||||||
template0 = [[${cpubar cpu\1 6,125}${goto 140}${cpubar cpu\2}]],
|
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}%]],
|
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}%]],
|
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}]]
|
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
|
#${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}
|
#${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
|
#${freq 9} MHz${goto 70}${freq 10} Mhz${goto 135}${freq 11} MHz${goto 200}${freq 12} MHz
|
||||||
${template0 1 7}
|
${template0 1 2 3 4}
|
||||||
${template0 2 8}
|
${template4 1 2 3 4}
|
||||||
${template0 3 9}
|
${template0 5 6 7 8}
|
||||||
${template0 4 10}
|
${template4 5 6 7 8}
|
||||||
${template0 5 11}
|
${template0 9 10 11 12}
|
||||||
${template0 6 12}
|
${template4 9 10 11 12}
|
||||||
|
|
||||||
${template1 1}
|
${template1 1}
|
||||||
${template1 2}
|
${template1 2}
|
||||||
|
@ -99,7 +99,7 @@ ${template3 /mnt/data /mnt/data}
|
||||||
|
|
||||||
${template3 /mnt/backup /mnt/backup}
|
${template3 /mnt/backup /mnt/backup}
|
||||||
|
|
||||||
${template3 /home/minecraft /home/minecraft}
|
${template3 /boot /boot}
|
||||||
|
|
||||||
${template3 /tmp /tmp}
|
${template3 /tmp /tmp}
|
||||||
|
|
||||||
|
|
|
@ -21,19 +21,27 @@
|
||||||
|
|
||||||
### Geometry ###
|
### Geometry ###
|
||||||
|
|
||||||
|
# The width of the window, excluding the frame.
|
||||||
# dynamic width from 0 to 300
|
# dynamic width from 0 to 300
|
||||||
# width = (0, 300)
|
# width = (0, 300)
|
||||||
# constant width of 300
|
# constant width of 300
|
||||||
width = (0, 1128)
|
width = (0, 1128)
|
||||||
|
|
||||||
# The maximum height of a single notification, excluding the frame.
|
# The height of a single notification, excluding the frame.
|
||||||
height = 200
|
# 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
|
# Position the notification in the top right corner
|
||||||
origin = top-left
|
origin = top-left
|
||||||
|
|
||||||
# Offset from the origin
|
# 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 factor. It is auto-detected if value is 0.
|
||||||
scale = 0
|
scale = 0
|
||||||
|
@ -337,16 +345,16 @@
|
||||||
foreground = "#D3D0C8"
|
foreground = "#D3D0C8"
|
||||||
frame_color = "#A09F93"
|
frame_color = "#A09F93"
|
||||||
timeout = 10
|
timeout = 10
|
||||||
# Icon for notifications with low urgency, uncomment to enable
|
# Icon for notifications with low urgency
|
||||||
#icon = /path/to/icon
|
default_icon = dialog-information
|
||||||
|
|
||||||
[urgency_normal]
|
[urgency_normal]
|
||||||
background = "#2D2D2D"
|
background = "#2D2D2D"
|
||||||
foreground = "#D3D0C8"
|
foreground = "#D3D0C8"
|
||||||
frame_color = "#6699CC"
|
frame_color = "#6699CC"
|
||||||
timeout = 15
|
timeout = 15
|
||||||
# Icon for notifications with normal urgency, uncomment to enable
|
# Icon for notifications with normal urgency
|
||||||
#icon = /path/to/icon
|
default_icon = dialog-information
|
||||||
|
|
||||||
[urgency_critical]
|
[urgency_critical]
|
||||||
background = "#2D2D2D"
|
background = "#2D2D2D"
|
||||||
|
@ -354,8 +362,8 @@
|
||||||
frame_color = "#F2777A"
|
frame_color = "#F2777A"
|
||||||
timeout = 0
|
timeout = 0
|
||||||
override_pause_level = 60
|
override_pause_level = 60
|
||||||
# Icon for notifications with critical urgency, uncomment to enable
|
# Icon for notifications with critical urgency
|
||||||
#default_icon = /path/to/icon
|
default_icon = dialog-warning
|
||||||
|
|
||||||
# Every section that isn't one of the above is interpreted as a rules to
|
# Every section that isn't one of the above is interpreted as a rules to
|
||||||
# override settings for certain messages.
|
# override settings for certain messages.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||||
# The parser is also very primitive, and not human-friendly.
|
# 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
|
config_reader_min_version=3
|
||||||
fields=0 48 17 18 113 38 39 40 119 111 2 46 47 49 1
|
fields=0 48 17 18 113 38 39 40 119 111 2 46 47 49 1
|
||||||
hide_kernel_threads=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_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_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
|
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
|
sort_key=47
|
||||||
tree_sort_key=0
|
tree_sort_key=0
|
||||||
sort_direction=-1
|
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
|
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
|
.sort_key=PERCENT_MEM
|
||||||
.tree_sort_key=PID
|
.tree_sort_key=PID
|
||||||
.tree_view=1
|
|
||||||
.tree_view_always_by_pid=0
|
.tree_view_always_by_pid=0
|
||||||
|
.tree_view=0
|
||||||
.sort_direction=-1
|
.sort_direction=-1
|
||||||
.tree_sort_direction=1
|
.tree_sort_direction=1
|
||||||
.all_branches_collapsed=0
|
.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
|
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
|
.sort_key=IO_RATE
|
||||||
.tree_sort_key=PID
|
.tree_sort_key=PID
|
||||||
.tree_view=0
|
|
||||||
.tree_view_always_by_pid=0
|
.tree_view_always_by_pid=0
|
||||||
|
.tree_view=0
|
||||||
.sort_direction=-1
|
.sort_direction=-1
|
||||||
.tree_sort_direction=1
|
.tree_sort_direction=1
|
||||||
.all_branches_collapsed=0
|
.all_branches_collapsed=0
|
||||||
|
|
|
@ -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)TransportFever2"] border none fullscreen disable
|
||||||
for_window [class="(?i)System-config-printer.py"] floating enable border normal
|
for_window [class="(?i)System-config-printer.py"] floating enable border normal
|
||||||
for_window [class="(?i)variety"] floating enable
|
for_window [class="(?i)variety"] floating enable
|
||||||
for_window [class="(?i)steam_app_1454400"] border none
|
|
||||||
# switch to workspace with urgent window automatically
|
# switch to workspace with urgent window automatically
|
||||||
for_window [urgent=latest] focus
|
for_window [urgent=latest] focus
|
||||||
for_window [instance="newsboat"] move scratchpad
|
for_window [instance="newsboat"] move scratchpad
|
||||||
|
|
|
@ -79,7 +79,7 @@ sticker_file "~/.mpd/sticker.sql"
|
||||||
# systemd socket activiation is in use.
|
# systemd socket activiation is in use.
|
||||||
#
|
#
|
||||||
# For network
|
# For network
|
||||||
#bind_to_address "any"
|
bind_to_address "any"
|
||||||
#
|
#
|
||||||
# And for Unix Socket
|
# And for Unix Socket
|
||||||
bind_to_address "~/.mpd/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
|
# This setting is the TCP port that is desired for the daemon to get assigned
|
||||||
# to.
|
# to.
|
||||||
#
|
#
|
||||||
#port "6600"
|
port "6600"
|
||||||
#
|
#
|
||||||
# Suppress all messages below the given threshold. Use "verbose" for
|
# Suppress all messages below the given threshold. Use "verbose" for
|
||||||
# troubleshooting. Available setting arguments are "notice", "info", "verbose",
|
# troubleshooting. Available setting arguments are "notice", "info", "verbose",
|
||||||
|
|
|
@ -25,7 +25,7 @@ sub-font-size=25
|
||||||
sub-margin-y=10
|
sub-margin-y=10
|
||||||
slang=en
|
slang=en
|
||||||
|
|
||||||
ytdl-raw-options=write-auto-subs=
|
ytdl-raw-options=write-auto-subs=,netrc=
|
||||||
|
|
||||||
# Cache
|
# Cache
|
||||||
cache=yes
|
cache=yes
|
||||||
|
|
|
@ -11,7 +11,7 @@ keepdevbuilddir = no
|
||||||
keepbuilddeps = no
|
keepbuilddeps = no
|
||||||
gpgdir = /etc/pacman.d/gnupg
|
gpgdir = /etc/pacman.d/gnupg
|
||||||
skipfailedbuild = no
|
skipfailedbuild = no
|
||||||
dynamicusers = root
|
dynamicusers =
|
||||||
ignorearch = no
|
ignorearch = no
|
||||||
|
|
||||||
[review]
|
[review]
|
||||||
|
|
|
@ -34,5 +34,8 @@ set recolor-darkcolor "#e8e6df"
|
||||||
set recolor "false"
|
set recolor "false"
|
||||||
set recolor-keephue "false"
|
set recolor-keephue "false"
|
||||||
|
|
||||||
|
# Pas d’espace entre les pages
|
||||||
|
set page-padding 0
|
||||||
|
|
||||||
map D set "first-page-column 1:1"
|
map D set "first-page-column 1:1"
|
||||||
map <C-d> set "first-page-column 1:2"
|
map <C-d> set "first-page-column 1:2"
|
||||||
|
|
|
@ -3,6 +3,12 @@
|
||||||
# Sortie à la moindre erreur
|
# Sortie à la moindre erreur
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
if ! loudgain
|
||||||
|
then
|
||||||
|
echo "loudgain semble non fonctionnel, peut-être besoin d’une recompilation de loudgain et/ou ffmpeg6.1 ?"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
shopt -s globstar
|
shopt -s globstar
|
||||||
|
|
||||||
# Initialisation de la mise en forme
|
# Initialisation de la mise en forme
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
if [[ -f /tmp/output.png ]]
|
if [[ -f /tmp/output.png ]]
|
||||||
then
|
then
|
||||||
feh --no-fehbg --bg-center /tmp/output.png
|
feh --no-fehbg --bg-max /tmp/output.png
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ~/Images/clocks/Current/
|
cd ~/Images/clocks/Current/
|
||||||
|
|
Loading…
Reference in a new issue