~iostapyshyn

Recent activity

[PATCH kanshi 2/2] ipc: Expose state via fr.emersion.kanshi.Status a month ago

From Illia Ostapyshyn to ~emersion/public-inbox

---
 ctl.c | 18 +++++++++++++++++-
 ipc.c | 31 +++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 1 deletion(-)

diff --git a/ctl.c b/ctl.c
index ee06728..e0bb3b3 100644
--- a/ctl.c
+++ b/ctl.c
@@ -14,11 +14,13 @@ static void usage(void) {
		"\n"
		"Commands:\n"
		"  reload            Reload the configuration file\n"
		"  switch <profile>  Switch to another profile\n");
[message trimmed]

[PATCH kanshi 1/2] ctl: Pass method to reply handler a month ago

From Illia Ostapyshyn to ~emersion/public-inbox

---
 ctl.c | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/ctl.c b/ctl.c
index e5ca870..ee06728 100644
--- a/ctl.c
+++ b/ctl.c
@@ -89,9 +89,10 @@ int main(int argc, char *argv[]) {

	const char *command = argv[1];
	long ret;
	char *method = NULL;
	VarlinkObject *params = NULL;
[message trimmed]

[PATCH kanshi 0/2] Expose current state via kanshictl a month ago

From Illia Ostapyshyn to ~emersion/public-inbox

This patch series adds a new status command to kanshictl, which prints
out the current kanshi state to the standart output as a JSON string.

The feature is motivated by the idea of coupling power management to
the current kanshi profile via external programs (github#54 [1]).
However, kanshi is currently missing a posibility to query the current
profile.

The output is currently limited to {current,pending}_profile.  If more
use cases arise in the future, the command can be extended to expose
more fields of the kanshi_state structure.

[1] https://github.com/emersion/kanshi/issues/54

Re: [Bug?] Background term colours barely visible 1 year, 3 months ago

From Illia Ostapyshyn to ~protesilaos/modus-themes

> Vterm does the same, by virtue of inheriting from term.el
vterm-mode is currently lacking the possibility to specify different 
colors for for background and foreground purposes, since it uses 
:background attribute of its faces for "bright" ANSI color indices 
(8-15) and :foreground is used for "normal" ANSI colors (0-7).

I have just submitted a PR [1] to vterm to add this functionality as it 
has been bugging me for a long time and modus-themes now have the 
mechanism to customize it.

[1] https://github.com/akermu/emacs-libvterm/pull/685