-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconkyrc
81 lines (73 loc) · 4.62 KB
/
conkyrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# 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-2010 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/>.
#
gap_y 20
gap_x 0
alignment top_left
use_xft yes
xftfont Serif:bold:size=9
color0 000000
color1 300046
draw_shades no
update_interval 1
double_buffer yes
TEXT
${voffset 10}${color1}Main System
$color0 Architecture:$color1 $machine $color0 Battery:$color1 ${battery_percent BAT1}% $color0 State:$color1${acpiacadapter ACAD}
#$color0 CPU:$color1 ${execi 10000 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2-}
$color0 Kernel:$color1 $kernel ${execi 1000 uname -v | cut -c1-25}
$color0 CST Time&Date:$color1 ${exec date}
$color0 UTC Time&Date:$color1 ${exec date -u}
$color0 Battery Current/Full/Design:$color1 ${execi 5 echo $(expr $(cat /sys/class/power_supply/BAT1/charge_now) / 1000)}/${execi 10000 echo $(expr $(cat /sys/class/power_supply/BAT1/charge_full) / 1000)}/${execi 10000 echo $(expr $(cat /sys/class/power_supply/BAT1/charge_full_design) / 1000)} mAh
$color0 Master/Speaker/Headphone Volume:$color1 ${execi 6 amixer get Master | awk -F'[]%[]' '/%/ {if ($7 == "off") { print "Mute" } else { print $2"%" }}'}/${execi 6 amixer get Speaker | awk -F'[]%[]' '/%/ {if ($7 == "off") { print "Mute" } else { print $2"%" }}' | head -n1}/${execi 6 amixer get Headphone | awk -F'[]%[]' '/%/ {if ($7 == "off") { print "Mute" } else { print $2"%" }}' | head -n1}
$color0 Uptime:$color1 $uptime $color0 User Name:$color1 ${execi 10000 whoami}
${voffset 15}${color1}Core Hardware
#$color0 GPU/Memory Clocks(Usage): $color1${execi 2 aticonfig --odgc | grep "Clock" | cut -c32-34} / ${execi 2 aticonfig --odgc | grep "Clock" | cut -c46-48} MHz ($color1${execi 2 aticonfig --adapter=0 --odgc | grep "GPU load" | cut -c30-34})
$color0 CPU0/1 Frequency: $color1${freq_g 1} / ${freq_g 2} GHz $color0
$color0 CPU0 Usage: $color1${cpu cpu0}% $color0 ${cpugraph cpu0 8,200 000000 300046}
$color0 CPU1 Usage: $color1${cpu cpu1}% $color0 ${cpugraph cpu1 8,200 000000 300046}
$color0 DISK I/O(SDA): $color1${diskio /dev/sda}/s $color0 ${diskiograph /dev/sda 8,210 000000 300046}
${color0} CPU/ACPI/DISK Temperature: $color1 ${exec sensors | grep 'k10temp' -A 3 | grep 'temp' | tail -n1 | cut -c16-17} / ${exec sensors | grep 'acpi' -A 3 | grep 'temp' | head -n1 | cut -c16-17} / ${hddtemp /dev/sda} C
${voffset 15}${color1}System Recourse
${color1}Memory
$color0 Used:$color1 ${mem} (${memperc}%)
$color0 Total:$color1 ${memmax}
$color0 Usage:$color1 ${membar 8,150}
${color1}System (${fs_type /})
$color0 Total:$color1 ${fs_size /} $color0 Free:$color1 ${fs_free /} ${fs_free_perc /}%
$color0 Usage:$color1 ${fs_bar 8,310 /}
${color1}RAMDisk (${fs_type /tmp})
$color0 Total:$color1 ${fs_size /tmp} $color0 Free:$color1 ${fs_free /tmp} ${fs_free_perc /tmp}%
$color0 Usage:$color1 ${fs_bar 8,310 /tmp}
${color1}Unixlog (${fs_type /var/log})
$color0 Total:$color1 ${fs_size /var/log} $color0 Free:$color1 ${fs_free /var/log} ${fs_free_perc /var/log}%
$color0 Usage:$color1 ${fs_bar 8,310 /var/log}
${voffset 15}${color1}Network State
$color0 NetCard:$color1 WLAN0 $color0 IPv4: $color1${addr wlan0}
$color0 ESSID: $color1${wireless_essid wlan0}$color1${wireless_link_qual_perc wlan0}% $color0 Mac: $color1${wireless_ap wlan0}
$color0 Down: $color1${downspeed wlan0}/s $color0 ${downspeedgraph wlan0 8,100 000000 300046} $color1 Total: ${totaldown wlan0}
$color0 Up: $color1${upspeed wlan0}/s $color0 ${upspeedgraph wlan0 8,100 000000 300046} $color0 Total: $color1${totalup wlan0}
$color0 NetCard:$color1 ETH0 $color0 IPv4: $color1${addr eth0}
$color0 Down: $color1${downspeed eth0}/s $color0 ${downspeedgraph eth0 8,100 000000 300046} $color0 Total: $color1${totaldown eth0}
$color0 Up: $color1${upspeed eth0}/s $color0 ${upspeedgraph eth0 8,100 000000 300046} $color0 Total: $color1${totalup eth0}