Closed pedro-nonfree closed 2 years ago
Rough draft.
diff --git a/py3status/core.py b/py3status/core.py
index 77e624d..42161aa 100644
--- a/py3status/core.py
+++ b/py3status/core.py
@@ -1016,7 +1016,7 @@ class Py3statusWrapper:
header = {
"version": 1,
"click_events": self.config["click_events"],
- "stop_signal": SIGTSTP,
+ "stop_signal": signal.Signals[py3_config.get("py3status", {}).get("stop_signal", "SIGTSTP")],
}
write(dumps(header))
write("\n[[]\n")
and
# ~/.config/py3status/config
# --------------------------
general {
}
py3status {
stop_signal = "SIGTSTP"
}
order += "sysdata"
order += "lm_sensors"
order += "nvidia_smi"
# ...
@pedro-nonfree I think that what @lasers suggests is good; would you like such an option?
please check #2095 thanks :)
closed via #2095
Is your feature request related to a problem? Please describe.
https://i3wm.org/docs/userguide.html#_display_mode
it also fills the syslog with strange messages like this:
looks like stop_signal is hardcoded to certain value (20)
https://github.com/ultrabug/py3status/blob/725cfec4480ba542ba7821aff7445653e1587f3f/py3status/core.py#L1019
Your py3status version py3status version 3.31 (python 3.9.2) on i3
Describe the solution you'd like
the solution they found in i3status-rust https://github.com/greshake/i3status-rust/pull/701 is a new option called never-pause
Additional context Additional links