Conky: execpi 不会重复自己

创建于 2019-10-08  ·  4评论  ·  资料来源: brndnmtthws/conky

你好呀。

问题

_Execpi_ 仅运行一次(与 execp 相同)并且在选定的时间间隔后不再重复该命令。

资讯

在 Xubuntu 18.04 上的 conky 1.10.8

所有4条评论

无关...我遇到了一个问题, execpi没有以正确的间隔触发他们的命令(即命令以 1-2s 的间隔运行,而不是指定的 5s、10s、15s、20s 间隔)。 c352069b31b2dbb4d87503603d6c6d3ddd517df6 是第一个错误提交。

我们也可以有一个配置吗? v1.10.8 execs 命令重复执行对我来说这里使用...

${execpi 5 date}
${execpi 10 date +%T}
${execpi 15 date +%T%}
${execpi 20 date +%T%%%}

Screenshot_2019-10-08_14-06-42

你是说 conkyrc 吗? 如是 :

# http://conky.sourceforge.net/config_settings.html
# Use Xft?
use_xft yes
xftfont Ubuntu Beta:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 60

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent no
own_window_argb_visual yes
own_window_argb_value 210  # semi-transparent
own_window_type normal
own_window_class conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 257 40
maximum_width 900
maximum_height 1600

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_inner_margin 2

# border width
border_width 1

# Default colors and also border colors
default_color 00c4e7    #DF6D14
default_shade_color black
default_outline_color white
own_window_colour black

# Text alignment, other possible values are commented
#alignment top_left
alignment tl
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x -25
gap_y 300

# Subtract file system buffers from usedmemory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none


TEXT

${execpi 5 date}
${execpi 10 date +%T}
${execpi 15 date +%T%}
${execpi 20 date +%T%%%}

这很奇怪-根据我的经验,该版本中不存在此错误-请参阅错误 #870 (execpi 间隔值不正确)

都说 - 这个错误存在:+1:

我可以在v1.10.7上重现这个。 由于 Makefile 错误,无法编译v1.10.6或更低版本。

此页面是否有帮助?
0 / 5 - 0 等级