Add i3 configs
This commit is contained in:
107
.i3/conkyrc
Normal file
107
.i3/conkyrc
Normal file
@ -0,0 +1,107 @@
|
||||
#if [ -f "${HOME}/.gpg-agent-info" ]; then
|
||||
# . "${HOME}/.gpg-agent-info"
|
||||
# export GPG_AGENT_INFO
|
||||
# export SSH_AUTH_SOCK
|
||||
#fi
|
||||
|
||||
## i3barConky
|
||||
out_to_x no
|
||||
own_window no
|
||||
out_to_console yes
|
||||
background no
|
||||
use_xft yes
|
||||
|
||||
##avoid flicker
|
||||
double_buffer yes
|
||||
|
||||
## Update interval in seconds
|
||||
update_interval 2
|
||||
|
||||
## This is the number of times Conky will update before quitting.
|
||||
## Set to zero to run forever
|
||||
total_run_times 0
|
||||
|
||||
## How strict should if_up be when testing an interface for being up?
|
||||
if_up_strictness address
|
||||
|
||||
## borders
|
||||
draw_borders no
|
||||
#border_inner_margin 2
|
||||
#border_margin 3
|
||||
|
||||
## shades
|
||||
draw_shades yes
|
||||
|
||||
## Force UTF8? note that UTF8 support required XFT
|
||||
override_utf8_locale yes
|
||||
|
||||
## to prevent window from moving
|
||||
use_spacer left
|
||||
|
||||
## number of cpu samples to average
|
||||
## set to 1 to disable averaging
|
||||
cpu_avg_samples 2
|
||||
short_units yes
|
||||
|
||||
## Stuff after 'TEXT' will be formatted on screen
|
||||
TEXT
|
||||
[
|
||||
{
|
||||
"full_text" : "${execi 60 curl -p v4.icanhazip.com}",
|
||||
"color" : ${if_up enp2s0}"\#777777"${else}"\#e74f4f4"${endif},
|
||||
"separator" : false,
|
||||
"separator_block_width" : 30,
|
||||
"align" : "left"
|
||||
},
|
||||
{
|
||||
"full_text" : "\u23e3",
|
||||
"color" : "\#777777",
|
||||
"separator" : false,
|
||||
"separator_block_width" : 3,
|
||||
"align" : "left"
|
||||
},
|
||||
{
|
||||
"full_text" : "${cpu}%",
|
||||
"color" : ${if_match ${cpu}>75}"\#e74f4f4"${else}"\#777777"${endif},
|
||||
"separator" : false,
|
||||
"separator_block_width" : 2,
|
||||
"min_width": 20,
|
||||
"align" : "left"
|
||||
},
|
||||
{
|
||||
"full_text" : "${mem}",
|
||||
"color" : "\#777777",
|
||||
"separator" : false,
|
||||
"separator_block_width" : 3,
|
||||
"min_width": 30,
|
||||
"align" : "right"
|
||||
},
|
||||
{
|
||||
"full_text" : "(${memmax})",
|
||||
"separator" : false,
|
||||
"separator_block_width" : 450,
|
||||
"color" : "\#777777",
|
||||
"min_width": 30,
|
||||
"align" : "left"
|
||||
|
||||
},
|
||||
{
|
||||
"full_text" : "${time %A den %d %B %Y KW: %V, }${time %H:%M}",
|
||||
"separator" : false,
|
||||
"separator_block_width" : 800,
|
||||
"color" : "\#cc8800",
|
||||
"min_width": 800,
|
||||
"align" : "center"
|
||||
},
|
||||
{
|
||||
"full_text" : "${execi 900 ~/.i3/weather.sh}",
|
||||
"color" : "\#777777",
|
||||
"min_width": 140,
|
||||
"align" : "right",
|
||||
"separator" : false,
|
||||
"min_width": 30,
|
||||
"separator_block_width" : 6
|
||||
}
|
||||
],
|
||||
|
||||
|
Reference in New Issue
Block a user