~robertgzr

Berlin

https://r.gnzler.io

~robertgzr/public-inbox

Last active 2 years ago
View more

Recent activity

Re: Using wlsunset to drive an external gamma-controlling program 5 months ago

From Robert Günzler to ~kennylevinsen/wlsunset-devel

On Tue Aug 23, 2022 at 10:44 AM CEST,  wrote:

> - one to run an external command on every set_temperature() (similarly
>   to Robert Günzler's patch of 08-08-2022 but simpler and with different
>   design choices)

even simpler and I thought I had stripped it down to the absolute
minimum to be able to run a script when the ramps are changing haha

[PATCH] Add option to run a hook when changing temperature 5 months ago

From Robert Günzler to ~kennylevinsen/wlsunset-devel

Allows things like configuring gtk apps to prefer a dark
colorscheme (see sample hook script)

Signed-off-by: Robert Günzler <r@gnzler.io>
---
 contrib/sample_hook.sh | 21 +++++++++++++++++++++
 main.c                 | 34 ++++++++++++++++++++++++++++++++--
 wlsunset.1.scd         |  5 +++++
 3 files changed, 58 insertions(+), 2 deletions(-)
 create mode 100755 contrib/sample_hook.sh

diff --git a/contrib/sample_hook.sh b/contrib/sample_hook.sh
new file mode 100755
index 0000000..5b78b66
[message trimmed]

[PATCH] Pause slideshow when view->playing is false 10 months ago

From Robert Günzler to ~exec64/imv-devel

From: Robert Guenzler <r@gnzler.io>

Signed-off-by: Robert Günzler <r@gnzler.io>
---
 src/imv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/imv.c b/src/imv.c
index 8380a12..4094d97 100644
--- a/src/imv.c
+++ b/src/imv.c
@@ -1130,7 +1130,7 @@ int imv_run(struct imv *imv)
    }

[message trimmed]

[PATCH] Allow changing the message prefix glyph 1 year, 26 days ago

From Robert Günzler to ~whynothugo/lsp_lines.nvim

Signed-off-by: Robert Günzler <r@gnzler.io>
---
 lua/lsp_lines/init.lua | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lua/lsp_lines/init.lua b/lua/lsp_lines/init.lua
index 50a2ff3..ef1f41a 100644
--- a/lua/lsp_lines/init.lua
+++ b/lua/lsp_lines/init.lua
@@ -31,10 +31,13 @@ end

-- Registers a wrapper-handler to render lsp lines.
-- This should usually only be called once, during initialisation.
M.register_lsp_virtual_lines = function()
[message trimmed]

[PATCH] testing/tailscale: new aport 2 years ago

From Robert Günzler to ~sircmpwn/alpine-aports

https://tailscale.com
The easiest, most secure way to use WireGuard and 2FA.
---
 testing/tailscale/APKBUILD               | 70 ++++++++++++++++++++++++
 testing/tailscale/tailscale.confd        |  5 ++
 testing/tailscale/tailscale.initd        | 27 +++++++++
 testing/tailscale/tailscale.logrotate    |  6 ++
 testing/tailscale/tailscale.modules-load |  1 +
 5 files changed, 109 insertions(+)
 create mode 100644 testing/tailscale/APKBUILD
 create mode 100644 testing/tailscale/tailscale.confd
 create mode 100644 testing/tailscale/tailscale.initd
 create mode 100644 testing/tailscale/tailscale.logrotate
 create mode 100644 testing/tailscale/tailscale.modules-load
[message trimmed]

what is this? 2 years ago

From Robert Günzler to ~robertgzr/public-inbox

This is a _public_ inbox, that can be used to contact  https//sr.ht/~robertgzr 
about any public projects, send patches or really anything.

[PATCH] Make sure to require codec in tokio-codec feature 2 years ago

From Robert Günzler to ~kennylevinsen/greetd

---
I'm trying to package for gentoo. Using the cargo eclass I get errors
like this:

	error[E0432]: unresolved import `greetd_ipc::codec`
	  --> greetd/src/server.rs:17:5
	   |
	17 |     codec::{Error as CodecError, TokioCodec},
	   |     ^^^^^ could not find `codec` in `greetd_ipc`

	error[E0433]: failed to resolve: could not find `codec` in `greetd_ipc`
	  --> greetd/src/error.rs:42:23
	   |
	42 | impl From<greetd_ipc::codec::Error> for Error {
[message trimmed]

[PATCH] Make sure to require codec in tokio-codec feature 2 years ago

From Robert Günzler to ~kennylevinsen/greetd-devel

---
I'm trying to package for gentoo. Using the cargo eclass I get errors
like this:

	error[E0432]: unresolved import `greetd_ipc::codec`
	  --> greetd/src/server.rs:17:5
	   |
	17 |     codec::{Error as CodecError, TokioCodec},
	   |     ^^^^^ could not find `codec` in `greetd_ipc`

	error[E0433]: failed to resolve: could not find `codec` in `greetd_ipc`
	  --> greetd/src/error.rs:42:23
	   |
	42 | impl From<greetd_ipc::codec::Error> for Error {
[message trimmed]

[PATCH v2] Parse headers from template 3 years ago

From Robert Günzler to ~sircmpwn/aerc

This patch parses the processed template for headers and populates
matching header editors.
Those are then stripped from the template body before prepending the template
and remaining header fields to the composer content.

The main motivation for this is keeping receiver, sender and subject
lines in the template file and generating the message subject from the
date.
---
> Whoops, I had to revert this. :reply -q fails with this patch, because
> it tries to interpret the message body as headers.
>
Ohno, should've tested this better myself :p
[message trimmed]

[PATCH] Parse headers from template 3 years ago

From Robert Günzler to ~sircmpwn/aerc

Parse the processed template for headers and populates matching header
editors accordingly.
Those are then stripped from the template body before prepending it
and remaining header fields to the composer content.

The motivation for this is keeping receiver, sender and subject
lines in the template file and generating the message subject with the
date functions.
---
 widgets/compose.go | 42 +++++++++++++++++++++++++++++++++++++++---
 1 file changed, 39 insertions(+), 3 deletions(-)

diff --git a/widgets/compose.go b/widgets/compose.go
index 62aaafe..6e527cb 100644
[message trimmed]