Created
May 2, 2020 09:13
-
-
Save florianvazelle/612264e3316e14b9ea72cf10e3859d4a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override_utf8_locale yes | |
use_xft yes | |
xftfont ubuntu:size=10.5 | |
xftalpha 0.5 | |
uppercase no | |
no_buffers yes # Subtract cached and buffered ram from memory usage. | |
display :0.0 | |
nvidia_display :0.0 | |
text_buffer_size 2048 | |
update_interval .75 # change to .001 for 1000 times per second stress test | |
total_run_times 0 | |
own_window yes | |
own_window_type desktop | |
own_window_type normal | |
own_window_transparent no | |
own_window_argb_visual yes | |
own_window_argb_value 200 # semi-transparent | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | |
double_buffer yes | |
minimum_size 200 | |
maximum_width 400 | |
draw_shades yes | |
# off-white | |
default_color ECEAE4 | |
# blue | |
color1 1EB5FF | |
# light blue | |
color2 30DDFB | |
# dark blue | |
color3 0090ff | |
# lime | |
color4 98FF76 | |
default_shade_color 000000 | |
draw_outline no | |
draw_borders no | |
stippled_borders 0 | |
alignment top_right # top_left for Screen 1, top_right for Screen 2 | |
gap_x 0 | |
gap_y 0 | |
TEXT | |
${color}Today is:${color green}$alignr${time %A,}${time %e %B %G} | |
${color}Distribution:${color green}$alignr ${exec cat /etc/issue.net} $machine | |
${color}Kernel:$alignr${color green} $kernel | |
${color green}CPU ${color orange}${voffset 2}${hr 1} | |
${color1}${voffset 5}Intel® i7-6700HQ 2.6 GHz: ${color1}@ ${color green}${freq} MHz | |
${color}${goto 13}CPU 1 ${goto 81}${color green}${cpu cpu1}% ${goto 131}${color3}${cpubar cpu1 18} | |
${color}${goto 13}CPU 2 ${goto 81}${color green}${cpu cpu2}% ${goto 131}${color3}${cpubar cpu2 18} | |
${color}${goto 13}CPU 3 ${goto 81}${color green}${cpu cpu3}% ${goto 131}${color3}${cpubar cpu3 18} | |
${color}${goto 13}CPU 4 ${goto 81}${color green}${cpu cpu4}% ${goto 131}${color3}${cpubar cpu4 18} | |
${color}${goto 13}CPU 5 ${goto 81}${color green}${cpu cpu5}% ${goto 131}${color3}${cpubar cpu5 18} | |
${color}${goto 13}CPU 6 ${goto 81}${color green}${cpu cpu6}% ${goto 131}${color3}${cpubar cpu6 18} | |
${color}${goto 13}CPU 7 ${goto 81}${color green}${cpu cpu7}% ${goto 131}${color3}${cpubar cpu7 18} | |
${color}${goto 13}CPU 8 ${goto 81}${color green}${cpu cpu8}% ${goto 131}${color3}${cpubar cpu8 18} | |
${color1}All CPU ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 1 temp 1}°C ${goto 250}${color1}Up: ${color green}$uptime | |
${color green}$running_processes ${color1}running of ${color green}$processes ${color1}loaded processes. | |
${color green}Process ${color orange}${voffset 2}${hr 1} | |
${color1}${voffset 5}Name: ${goto 215}PID ${goto 265} CPU% ${goto 337} Mem% | |
${color}${goto 13}${top name 1} ${goto 210}${top pid 1} ${goto 275}${color green}${top cpu 1} ${goto 350}${top mem 1} | |
${color}${goto 13}${top name 2} ${goto 210}${top pid 2} ${goto 275}${color green}${top cpu 2} ${goto 350}${top mem 2} | |
${color}${goto 13}${top name 3} ${goto 210}${top pid 3} ${goto 275}${color green}${top cpu 3} ${goto 350}${top mem 3} | |
${color}${goto 13}${top name 4} ${goto 210}${top pid 4} ${goto 275}${color green}${top cpu 4} ${goto 350}${top mem 4} | |
${color}${goto 13}${top name 5} ${goto 210}${top pid 5} ${goto 275}${color green}${top cpu 5} ${goto 350}${top mem 5} | |
${color}${goto 13}${top name 6} ${goto 210}${top pid 6} ${goto 275}${color green}${top cpu 6} ${goto 350}${top mem 6} | |
${color}${goto 13}${top name 7} ${goto 210}${top pid 7} ${goto 275}${color green}${top cpu 7} ${goto 350}${top mem 7} | |
${color}${goto 13}${top name 8} ${goto 210}${top pid 8} ${goto 275}${color green}${top cpu 8} ${goto 350}${top mem 8} | |
${color}${goto 13}${top name 9} ${goto 210}${top pid 9} ${goto 275}${color green}${top cpu 9} ${goto 350}${top mem 9} | |
${color green}Memory ${color orange}${voffset 2}${hr 1} | |
${color}RAM:${goto 148}${color green}$mem / $memmax $alignr${color green}${memperc /}% | |
${color}SSD:${goto 148}${color green}${fs_used /} / ${fs_size /} $alignr${color green}${fs_used_perc /}% | |
${color}HDD:${goto 148}${color green}${fs_used /media/phlowrient/DATA} / ${fs_size /media/phlowrient/DATA} $alignr${color green}${fs_used_perc /media/phlowrient/DATA}% | |
${color green}Network ${color orange}${voffset 2}${hr 1} | |
${color1}vnStat with "-i", "-w" and "-m" | |
${color}${goto 5}Today ${goto 100}Yesterday ${goto 225}Week ${goto 325}Month ${color green} | |
${execi 10 vnstat -i wlp2s0 | grep "today" | awk '{print $8" "substr ($9, 1, 1)}'} ${goto 110}${execi 10 vnstat -i wlp2s0 | grep "yesterday" | awk '{print $8" "substr ($9, 1, 1)}'} ${goto 220}${execi 10 vnstat -i wlp2s0 -w | grep "current week" | awk '{print $9" "substr ($10, 1, 1)}'} ${goto 315}${execi 10 vnstat -i wlp2s0 -m | grep "`date +"%b '%y"`" | awk '{print $9" "substr ($10, 1, 1)}'} | |
${color1}Real-time monitoring | |
${color}Down: ${color green}${downspeed wlp2s0}/s ${color}${goto 220}Up: ${color green}${upspeed wlp2s0}/s | |
${downspeedgraph wlp2s0 25,190 000000 ff0000} ${alignr}${upspeedgraph wlp2s0 | |
25,190 000000 00ff00}$color | |
Total: ${color green}${totaldown wlp2s0} $color${alignr}Total: ${color green}${totalup wlp2s0} | |
${color green}GPU ${color orange}${voffset 2}${hr 1} | |
${color}Usage:$alignr${color1}${exec nvidia-smi | grep % | cut -c 62-63}% | |
${color}Temp:$alignr${color1}${nvidia temp}°C | |
${color}VRAM:$alignr${color1} ${exec nvidia-smi | grep % | cut -c 37-40}MiB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment