mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-15 11:46:57 +00:00
Bugfix: run update_uname also without X11
This commit is contained in:
parent
fdadbbf98e
commit
bd99fe5d81
@ -6543,6 +6543,7 @@ static void set_default_configurations_for_x(void)
|
|||||||
|
|
||||||
static void set_default_configurations(void)
|
static void set_default_configurations(void)
|
||||||
{
|
{
|
||||||
|
update_uname();
|
||||||
fork_to_background = 0;
|
fork_to_background = 0;
|
||||||
total_run_times = 0;
|
total_run_times = 0;
|
||||||
info.cpu_avg_samples = 2;
|
info.cpu_avg_samples = 2;
|
||||||
@ -6602,7 +6603,6 @@ static void set_default_configurations(void)
|
|||||||
window.type = TYPE_NORMAL;
|
window.type = TYPE_NORMAL;
|
||||||
window.hints = 0;
|
window.hints = 0;
|
||||||
strcpy(window.class_name, PACKAGE_NAME);
|
strcpy(window.class_name, PACKAGE_NAME);
|
||||||
update_uname();
|
|
||||||
sprintf(window.title, PACKAGE_NAME" (%s)", info.uname_s.nodename);
|
sprintf(window.title, PACKAGE_NAME" (%s)", info.uname_s.nodename);
|
||||||
#endif
|
#endif
|
||||||
stippled_borders = 0;
|
stippled_borders = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user