1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-16 04:02:15 +00:00
Commit Graph

4439 Commits

Author SHA1 Message Date
Tóth János
e6465e8298 Go back to /proc.
Use `/proc/[pid]/stat` to check if conky is already running.
This will only work on systems where there is a `/proc`.
2024-11-05 12:13:24 -05:00
Tóth János
f806d03306 Fix name check.
A random process named `conky11` won't stop Conky to start when
`-U` is provided.
2024-11-05 12:13:24 -05:00
Tóth János
2d1a921f2d Use ps to check the running processes.
The previous method used `/proc` to check the running processes,
but it is a Linux-specific solution.

This method uses `ps`, hopefully in a POSIX-compliant way.

Linux: https://man7.org/linux/man-pages/man1/ps.1.html
FreeBSD: https://man.freebsd.org/cgi/man.cgi?ps(1)
OpenBSD: https://man.openbsd.org/ps.1
2024-11-05 12:13:24 -05:00
Tóth János
0a5530a670 Implement -U.
If this argument is provided Conky won't start if another Conky process
is already running.
2024-11-05 12:13:24 -05:00
dependabot[bot]
918975838b build(deps): bump DeterminateSystems/nix-installer-action
Bumps the actions group with 1 update: [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action).


Updates `DeterminateSystems/nix-installer-action` from 14 to 15
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v14...v15)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 12:12:36 -05:00
Brenden Matthews
fdec466759 Fix test cases 2024-10-31 08:06:06 -04:00
Brenden Matthews
e6cb164e48 Add algebra unit tests 2024-10-31 08:06:06 -04:00
liestrela
068e1f4358 Fix if_match comparison for string operands containing operator symbols (#1988) 2024-10-31 08:06:06 -04:00
Tin Švagelj
6a1aa57340
Revert "Add automatic labeling for issues (#2057)" (#2058)
This reverts commit 184af03d7e.
2024-10-11 20:04:10 +00:00
Tin Švagelj
184af03d7e
Add automatic labeling for issues (#2057)
* Change labeler action provider
* Add labels for issue content matches

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
2024-10-11 10:56:28 +00:00
heavyjoost
ebef88015a
Fix incorrect X11 dock/panel placement (#2056)
* set initial state wm hint to withdrawn (fix #2046)

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
2024-10-10 01:14:25 +00:00
François Revol
b05810d439 Fix tcp_ping for non-existent local network hosts
Fixes #2042

We can't just assume select() exiting before the timeout to be a
success, since connect() can actually tell us there's no route to host
or other errors.
2024-09-24 22:54:26 +02:00
Thomas Zajic
568d7e75fd audacious.cc: print_audacious_filename(): fix always empty $audacious_filename
print_audacious_filename() always returns an empty (zero-length) $audacious_filename, due to one of the std::min() operators always being 0. Removing the std::min() construct fixes the problem. Fixes #1175.
2024-09-21 08:07:33 -04:00
dependabot[bot]
b64b8016c4 build(deps): bump DeterminateSystems/magic-nix-cache-action
Bumps the actions group with 1 update: [DeterminateSystems/magic-nix-cache-action](https://github.com/determinatesystems/magic-nix-cache-action).


Updates `DeterminateSystems/magic-nix-cache-action` from 7 to 8
- [Release notes](https://github.com/determinatesystems/magic-nix-cache-action/releases)
- [Commits](https://github.com/determinatesystems/magic-nix-cache-action/compare/v7...v8)

---
updated-dependencies:
- dependency-name: DeterminateSystems/magic-nix-cache-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 09:56:03 -04:00
Gene Carlson
71814776d9 src/fs.cc: Fix whitespace mistake. 2024-09-15 08:20:13 -04:00
Gene Carlson
839602baec src/fs.{cc,h}: Update fs_stats without error spam. 2024-09-15 08:20:13 -04:00
zlice
875c1af663 set display to null for race condition
https://github.com/dunst-project/dunst/blob/master/src/x11/x.c#L499
looks to be the source of some code which now sets display to NULL
for some type of race condition in X11. Xlibint.h allows for building
on Void Linux but needs min/max undefined. closes #1939
2024-09-13 08:22:14 -04:00
dependabot[bot]
bfa1d49142 build(deps): bump DeterminateSystems/nix-installer-action
Bumps the actions group with 1 update: [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action).


Updates `DeterminateSystems/nix-installer-action` from 13 to 14
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v13...v14)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-10 09:15:56 -04:00
Brenden Matthews
14622a8d9b Bump version 2024-08-29 12:32:08 -04:00
quiescens
788ac88b31 fix for #208, clear the "set" flag on fs_stats entries periodically 2024-08-29 11:11:16 -04:00
w0j0pl
03711ea5e5
Fix logic bug in cache_nvidia_string_value_update() (#2022)
* Update nvidia.cc

Made a suggested change in logic from issue #1177

* Update nvidia.cc

Made a suggested change in logic from issue #1178

* Update nvidia.cc

Made a suggested change in logic from issue #1178
2024-08-29 09:15:09 -04:00
w0j0pl
c428663e02 Update nvidia.cc
Made a suggested change in logic from issue #1177
2024-08-27 16:51:16 -04:00
Brenden Matthews
b858d0cc77 Bump version 2024-07-30 12:54:47 -04:00
donutAnees
e03891f993
Implemented graph value clamping (#2000)
* Implemented graph value clamping

* Update variables.yaml

* Update variables.yaml
2024-07-30 12:30:29 -04:00
donutAnees
7ec86cfbd8 Implemented path resolution 2024-07-29 16:13:51 -04:00
donutAnees
9afcfadebb Fixed Down and Up Speed graph scaling 2024-07-28 22:01:41 -04:00
donutAnees
d2794b5d08 Updated documentation 2024-07-26 15:06:02 -04:00
donutAnees
965105bb9e Implemented Invert Y Axis Flag Feature 2024-07-26 15:06:02 -04:00
donutAnees
ad0c9d3e23 Updated documentation 2024-07-26 15:06:02 -04:00
donutAnees
03ed0d0e79 Implemented Invert X Axis Flag Feature 2024-07-26 15:06:02 -04:00
Brenden Matthews
a14e61adb6 Bump version 2024-07-23 14:34:12 -04:00
donutAnees
2009147095 Fixed graph parsing error 2024-07-23 09:11:26 -04:00
David Seifert
cc927f5231 Fix for GCC 15 two-phase lookup
* GCC 15 is more aggressive about checking dependent names:
  https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=r15-2117-g313afcfdabeab3

Bug: https://bugs.gentoo.org/936522
2024-07-23 09:09:54 -04:00
dependabot[bot]
0b599d90ee build(deps): bump DeterminateSystems/nix-installer-action
Bumps the actions group with 1 update: [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action).


Updates `DeterminateSystems/nix-installer-action` from 12 to 13
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v12...v13)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 19:02:20 -04:00
donutAnees
ed6d18827d Made upspeedgraph and downspeed graph scale on a common axis 2024-07-21 08:08:10 -04:00
donutAnees
82bfeba9bf Made downspeedgraph and upspeedgraph use same scaling 2024-07-21 08:08:10 -04:00
Tin Švagelj
ac25fcce8b
Fix invalid uniform vector init function in geometry (#1987)
Should fix the broken vertical border padding which relies on `uniform` to work.

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
2024-07-15 16:45:10 +00:00
Brenden Matthews
61208fc9fb Bump version 2024-07-04 08:19:23 -04:00
Brenden Matthews
9f9cbe906f Drop macos 11 build 2024-07-04 07:48:12 -04:00
Loukas Agorgianitis
49ca67d1ab
Fix minimum_height not scaled with dpi_scale like minimum_width (#1980) 2024-07-04 04:32:43 +00:00
Brenden Matthews
b0e2ec483f Bump web deps 2024-06-19 16:13:09 -04:00
Fernando
6cf51b2800 Address feedback by brndnmtthws 2024-06-14 20:47:18 -04:00
Fernando
942ce12f59 Move comment above the function it belongs to. 2024-06-14 20:47:18 -04:00
Fernando
b6767b4310 Fix AC/battery logic on FreeBSD.
The logic for the detection of the battery/AC line was not completely correct
for FreeBSD. Launching conky on console shows the following:

Cannot read sysctl "hw.acpi.battery.time"
Cannot read sysctl "hw.acpi.battery.life"
Cannot read sysctl "hw.acpi.battery.state"
Cannot read sysctl "hw.acpi.acline"
Unknown battery state 8!

In a PC, the hw.acpi.battery MIB does not exist.
Also, the hw.acpi.acline is only present if supported by the hardware.
In addition, some variables were used uninitialized and that causes strange
behavior: in a PC it showed it worked on battery and the % of charge was an
ridiculous big number.

This patch addresses the issue. It fixes the problem in the PC. It has also
being tested in a laptop running FreeBSD current plugin and unplugging the AC
line and also snatching the battery mercilessly to see if something breaks.
2024-06-14 20:47:18 -04:00
Brenden Matthews
33903e7d6c Apply npm audit fix. 2024-06-11 08:52:58 -04:00
Brenden Matthews
24eae34436 Bump web deps 2024-06-11 07:53:40 -04:00
dependabot[bot]
5f6541331c build(deps): bump braces and readdirp in /web
Bumps [braces](https://github.com/micromatch/braces) and [readdirp](https://github.com/paulmillr/readdirp). These dependencies needed to be updated together.

Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

Updates `readdirp` from 2.2.1 to 3.6.0
- [Release notes](https://github.com/paulmillr/readdirp/releases)
- [Commits](https://github.com/paulmillr/readdirp/compare/2.2.1...3.6.0)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
- dependency-name: readdirp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 22:19:33 -04:00
Brenden Matthews
ea7cf33f87 Add Ubuntu 24.04 to CI & release assets
Removed the complex compiler version build matrix. Instead, we'll just
use whatever is the latest for each Ubuntu release of clang and GCC.

Added a requirements-dev.txt and use a venv for build.
2024-06-10 21:54:05 -04:00
Brenden Matthews
31590ddafc Bump version 2024-06-10 18:56:07 -04:00
Marc Aldorasi
9f830224e5 Restore previous strut behavior 2024-06-10 15:41:05 -04:00