Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- vim: ts=4 sw=4 noet ai cindent syntax=lua
- --[[
- Conky, a system monitor, based on torsmo
- Any original torsmo code is licensed under the BSD license
- All code written since the fork of torsmo is licensed under the GPL
- Please see COPYING for details
- Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
- Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
- All rights reserved.
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- ]]
- conky.config = {
- alignment = 'top_right',
- background = false,
- border_width = 1,
- cpu_avg_samples = 2,
- default_color = 'white',
- default_outline_color = 'white',
- default_shade_color = 'white',
- draw_borders = false,
- draw_graph_borders = true,
- draw_outline = false,
- draw_shades = false,
- use_xft = true,
- font = 'DejaVu Sans Mono:size=12',
- gap_x = 20,
- gap_y = 1,
- minimum_height = 5,
- minimum_width = 5,
- net_avg_samples = 2,
- no_buffers = true,
- out_to_console = false,
- out_to_stderr = false,
- extra_newline = false,
- own_window = true,
- own_window_class = 'Conky',
- own_window_type = 'desktop',
- stippled_borders = 0,
- update_interval = 1.0,
- uppercase = false,
- use_spacer = 'none',
- show_graph_scale = false,
- show_graph_range = false
- }
- conky.text = [[
- ${color white} Rendszer informaciok ${hr 2}
- $nodename
- $sysname $kernel $machine
- Processzor informaciok ${hr 2}
- CPU: ${loadavg} %
- ${cpubar 8,100}
- ${cpugraph 30,250}
- Memoria informaciok ${hr 2}
- RAM: $memperc% ${membar 8,195}
- ${memgraph 30,250}
- CPU Hőmérséklete
- ${execi 10 sensors | grep -A 0 'Core 0' | cut -c 1-22}
- ${execi 10 sensors | grep -A 0 'Core 1' | cut -c 1-22}
- #${execi 10 sensors | grep -A 0 'Core 2' | cut -c 1-22}
- #${execi 10 sensors | grep -A 0 'Core 3' | cut -c 1-22}
- CPU
- ${cpubar cpu0}
- ${cpubar cpu1}
- ${cpubar cpu2}
- ${cpubar cpu3}
- Merevlemez informaciok ${hr 2}
- sda1 ${fs_free_perc /}% ${fs_bar 8,195 /}
- #Halozat informaciok ${hr 2}
- #Letoltes: ${downspeed wlp3s0} k/s
- #${downspeedgraph wlp3s0 40,250}
- #Feltoltes: ${upspeed wlp3s0} k/s
- #${upspeedgraph wlp3s0 40,250}
- Alkalmazas informaciok ${hr 2}
- Nev PID CPU% MEM%
- ${color FF0000}${top name 1} | ${top pid 1} | ${top cpu 1} | ${top mem 1}
- ${color E62000}${top name 2} | ${top pid 2} | ${top cpu 2} | ${top mem 2}
- ${color CC4000}${top name 3} | ${top pid 3} | ${top cpu 3} | ${top mem 3}
- ${color B36000}${top name 4} | ${top pid 4} | ${top cpu 4} | ${top mem 4}
- ${color 998000}${top name 5} | ${top pid 5} | ${top cpu 5} | ${top mem 5}
- ${color 809F00}${top name 6} | ${top pid 6} | ${top cpu 6} | ${top mem 6}
- ${color 66BF00}${top name 7} | ${top pid 7} | ${top cpu 7} | ${top mem 7}
- ${color 4DDF00}${top name 8} | ${top pid 8} | ${top cpu 8} | ${top mem 8}
- ${color 33FF00}${top name 9} | ${top pid 9} | ${top cpu 9} | ${top mem 9}
- #${font Aerial:style=Bold:pixelsize=12}Névnap:${font Snap.se:size=8}
- #${font Aerial :size=8}${rss http://rss.messze.net/rss.php 3 item_titles 3}
- ${font :size=8:style=Bold}DATE${font} ${hr 2}
- ${voffset -10}${goto 30}${font Arial Black:size=35}${color1}${time %H}${color}${font}${voffset -32}${goto 115}${font Arial Black:size=35}${color1}${time : %M}${color}${font}
- ${voffset -40}${goto 115}${alignr}${font}${color1}${time %A}${color}${font}
- ${goto 115}${alignr}${font}${time %Y %b %d}
- ${color FFD293}Névnapok
- #${color3}Tegnap: ${color3}${execi 3600 cat ~/nevnap.txt #| grep "^`date +%m%d --date 'date -1 days'`" | cut -c 6-}
- ${color1}Ma: ${color1}${execi 3600 cat ~/nevnap.txt | grep "^`date +%m%d`" | cut -c 6-}
- ${color3}Holnap: ${color3}${execi 3600 cat ~/nevnap.txt | grep "^`date +%m%d --date '1 days'`" | cut -c 6-}
- #${color3}Tegnap: ${color3}${execi 3600 cat ~/nevnap.txt #| grep "^`date +%m%d --date '%m%d -2 days'`" | cut -c 6-}
- ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement