View difference between Paste ID: 59HqCZaQ and
SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | double_buffer yes |
2 | max_user_text 124000 | |
3 | max_text_width 0 | |
4 | ||
5 | own_window yes | |
6 | own_window_type panel | |
7 | own_window_transparent no | |
8 | own_window_hints undecorated,skip_taskbar,skip_pager,sticky | |
9 | ||
10 | gap_x 0 | |
11 | gap_y 5 | |
12 | alignment top_middle | |
13 | minimum_size 1269 5 | |
14 | ||
15 | update_interval 2 | |
16 | default_color c7c7c7 | |
17 | own_window_colour 101010 | |
18 | draw_shades no | |
19 | use_spacer none | |
20 | ||
21 | ||
22 | use_xft yes | |
23 | xftfont Terminus (TTF):pixelsize=12 | |
24 | ||
25 | ||
26 | lua_load /path/to/colorise.lua | |
27 | # Yes, the following is one line | |
28 | TEXT | |
29 | ${kernel} | ${font Terminus (TTF):bold:pixelsize=12}Up:$font ${uptime_short} | ${font Terminus (TTF):bold:pixelsize=12}Load:${font} ${font Terminus (TTF):bold:pixelsize=12}${lua_parse conky_colorise_cpu 0} ${lua_parse conky_colorise_cpu 1} ${lua_parse conky_colorise_cpu 2} ${lua_parse conky_colorise_cpu 3} @ ${lua_parse weight_frequency 4}$font${voffset 0} | ${font Terminus (TTF):bold:pixelsize=12}Mem:${font} ${lua_parse conky_colorise_mem} | ${font Terminus (TTF):bold:pixelsize=12}Net:${font} ${lua_parse conky_format_speeds eth0} | ${font Terminus (TTF):bold:pixelsize=12}CPU:${font} ${lua_parse colorise_temps hwmon+0/device+temp+1 25 75} ${font Terminus (TTF):bold:pixelsize=12}M/B:${font} ${lua_parse colorise_temps platform+it87.552+temp+1 25 75} ${font Terminus (TTF):bold:pixelsize=12}GPU:${font} ${lua_parse colorise_temps nvidia+temp 25 90} | ${font Terminus (TTF):bold:pixelsize=12}/:${font} ${fs_free /} – ${font Terminus (TTF):bold:pixelsize=12}/home:${font} ${fs_free /home} | ${font Terminus (TTF):bold:pixelsize=12}Pacman:${font} ${execpi 1000 /home/foucault/scripts/pacupdate.pl} | ${font Terminus (TTF):bold:pixelsize=12}Vol:${font} ${exec amixer get Master| perl -ne 'if($_ =~ m/\[on\]/){ @l = split(/\s+/,$_); $l[4] =~ s/[\[\]]//g; print $l[4];}'} |