-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconkyrc_i3
78 lines (76 loc) · 3.04 KB
/
conkyrc_i3
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
### Conky configuration file
## Output is printed to the console -> i3bar
# Modified: 27.11.2011 - mseed : http://www.fastlinux.eu
###
# use_xft yes
# xftfont Helvetica:size=15
# xftalpha 0.9
## No output to X <yes/no>
out_to_x no
## Create own window to draw <yes/no>
own_window no
## Print everything to console?
out_to_console yes
## Use double buffering (reduces flicker, not needed for console output)
double_buffer no
## Set to yes if you want Conky to be forked in the background
background no
## Update interval in seconds
update_interval 1.0
## This is the number of times Conky will update before quitting.
## Set to zero to run forever.
total_run_times 0
## Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
short_units yes
## How strict should if_up be when testing an interface for being up?
## The value is one of up, link or address, to check for the interface
## being solely up, being up and having link or being up, having link
## and an assigned IP address.
if_up_strictness address
## Add spaces to keep things from moving about? This only affects certain objects.
## use_spacer should have an argument of left, right, or none
use_spacer left
## Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
## number of cpu samples to average
## set to 1 to disable averaging
cpu_avg_samples 1
own_window_transparent yes
## Sensors examples
# Top Process: ${top name 1}
# Root: {fs_used /}/${fs_size /} /home ${fs_free /home} /${fs_size /home}
# Load: ${loadavg 1} ${loadavg 2} ${loadavg 3}
# Load: $loadavg
# Swap: ${swap}/${swapmax} (${swapperc}%)
# Processes: ${running_processes} / ${processes}
# CPU: $cpu%
# HDD: $diskio_read :Read $diskio_write :Write
# Temp: Core0: ${exec sensors | awk '/Core 0/ {print $3}'} Core1: ${exec sensors | awk '/Core 1/ {print $3}'}
# Freq: ${freq cpu0}Mhz
# Uptime: $uptime
# Kernel:$kernel on $machine
# Name: $nodename - $sysname
# Battery: ${battery_percent BAT0}%
## Stuff after 'TEXT' will be formatted on screen
TEXT
# music startus
${if_running mpd}MPD:{alignr}${mpd_status}|${if_mpd_playing}${mpd_artist}${mpd_title}${mpd_bar 3,130}${endif} | ${endif} \
Ubuntu Linux $kernel | \
# CPU stats
CPU ${cpu cpu4}% ${freq_g 1}GHz ${exec sensors | grep -m 1 "Core 0"|awk '{print $3}'} | \
# RAM in use
RAM ${memperc}% | \
# Ethernet status
${if_up enp2s0}🖧 :${addr enp2s0} | :${upspeed enp2s0} :${downspeed enp2s0} | ${endif}\
${if_up wlp3s0} :${wireless_essid wlp3s0}${wireless_link_qual_perc wlp3s0}% | \
# Wireless status
IP:${addr wlp3s0} | :${upspeed wlp3s0} :${downspeed wlp3s0} | ${endif}\
# Free space on /home
/Home:${fs_used /home/}/${fs_free /home} | \
#BATT ${battery BAT0}
${time %Y.%m.%d %A} ${time %H:%M:%S} | ${execi 300 ~/.i3/i3blocks/blocks/weather}
# Weather temperature
#${exec weather --headers="Temperature" -q | awk '/Temperature/ {print $2}'}C ${exec weather --headers="Sky conditions" -q | awk '/Sky conditions/ {print $3 " " $4}'} | \
# Volume %
#Vol: ${mixer}
#V ${exec pactl list sinks | grep "Volume: 0"| tail -n 1 | awk '{print substr($3, 1, index($3, "%") - 1)}'}%