Re: [hackers] [slstatus][PATCH] backlight: implemented openbsd support

2018-05-23 Thread Tobias Tschinkowitz
On Wed, May 23, 2018 at 04:30:41PM -0300, lucas wrote: Lucas, > Tobias, > > > See my notes below the commit message of the patch. > > I saw the note just after sending the email. My bad. Still, I think that > slstatus shouldn't be run as root. It would be nice to find a workaround > when

Re: [hackers] [slstatus][PATCH] backlight: implemented openbsd support

2018-05-23 Thread lucas
Tobias, > See my notes below the commit message of the patch. I saw the note just after sending the email. My bad. Still, I think that slstatus shouldn't be run as root. It would be nice to find a workaround when launching X from xenodm. > Updated diff below. > > diff --git

[hackers] [slstatus] Add Michael Buch to LICENSE || Aaron Marcher

2018-05-23 Thread git
commit cf2b604507a71c61e757d7bf85458c7300eb3cf5 Author: Aaron Marcher AuthorDate: Wed May 23 10:12:20 2018 +0200 Commit: Aaron Marcher CommitDate: Wed May 23 10:12:20 2018 +0200 Add Michael Buch to LICENSE diff --git a/LICENSE b/LICENSE index

Re: [hackers] [slstatus][PATCH keymap v2] Add keymap component

2018-05-23 Thread Aaron Marcher
Michael, Thank you, merged. Cheers! Aaron -- Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/ Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion GPG: 0x7A65E38D55BE96FE Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE

[hackers] [slstatus] Add keymap component || Michael Buch

2018-05-23 Thread git
commit 943b42de05cc3328ea74b0d9f527f17e1fcf47e7 Author: Michael Buch AuthorDate: Wed May 23 07:16:30 2018 +0100 Commit: Aaron Marcher CommitDate: Wed May 23 10:09:13 2018 +0200 Add keymap component Adding a new keymap component that

[hackers] [slstatus] Add keymap to README || Aaron Marcher

2018-05-23 Thread git
commit 385aedffd90e513cc007e44e57785d7c3d934f6f Author: Aaron Marcher AuthorDate: Wed May 23 11:50:08 2018 +0200 Commit: Aaron Marcher CommitDate: Wed May 23 11:50:08 2018 +0200 Add keymap to README diff --git a/README b/README index f6041de..4f23959

[hackers] [slstatus][PATCH keymap v2] Add keymap component

2018-05-23 Thread michaelbuch12
From: Michael Buch Adding a new keymap component that will indicate the current keyboard layout (language) and variant if any was set. I use the standard X11 XKB APIs to retrieve and parse the xkb_symbols set with setxkbmap. --- Makefile| 1 +

[hackers] [dwm][PATCH] ClkTagBar missing from comment.

2018-05-23 Thread Christopher Drelich
>From 3757bffb4cbaf852702509d77dfe63633d30da13 Mon Sep 17 00:00:00 2001 From: Christopher Drelich Date: Wed, 23 May 2018 23:14:35 -0400 Subject: [PATCH] ClkTagBar missing from comment. --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[hackers] [slstatus][PATCH] backlight: implemented openbsd support

2018-05-23 Thread Tobias Tschinkowitz
implemented openbsd support for the backlight function. this only works when running slstatus as superuser. --- Hi Guys, i have implemented basic support for the backlight function on OpenBSD. The problem here is that /dev/ttyC0 permission is 600 (root:wheel) so a user cannot read from the

[hackers] [slstatus] Refactor snprintf-usage in util.c || Laslo Hunhold

2018-05-23 Thread git
commit 13d77cd268bade5e9ee9c07d9b94ca7c733cbe3d Author: Laslo Hunhold AuthorDate: Wed May 23 13:51:50 2018 +0200 Commit: Aaron Marcher CommitDate: Wed May 23 19:56:04 2018 +0200 Refactor snprintf-usage in util.c diff --git a/util.c b/util.c index

[hackers] [slstatus] Refactor keymap.c || Laslo Hunhold

2018-05-23 Thread git
commit f17f39d0a2e2898177dbcf5daf67284956005b9b Author: Laslo Hunhold AuthorDate: Wed May 23 15:29:37 2018 +0200 Commit: Aaron Marcher CommitDate: Wed May 23 19:56:16 2018 +0200 Refactor keymap.c - Get rid of camel-casing - Don't use

[hackers] [slstatus] keymap: Add braces for for loop || Aaron Marcher

2018-05-23 Thread git
commit d6ad87ce06593979b397fe1a01fc5fe9cb86e6a9 Author: Aaron Marcher AuthorDate: Wed May 23 13:30:45 2018 +0200 Commit: Aaron Marcher CommitDate: Wed May 23 13:30:45 2018 +0200 keymap: Add braces for for loop diff --git a/components/keymap.c

Re: [hackers] [slstatus][PATCH] backlight: implemented openbsd support

2018-05-23 Thread lucas
Hi Tobias, Two notes below > diff --git a/components/backlight.c b/components/backlight.c > index f9c4096..21e06a1 100644 > --- a/components/backlight.c > +++ b/components/backlight.c > @@ -29,4 +29,30 @@ > > return bprintf("%d", cur * 100 / max); > } > + > +#elif

Re: [hackers] [slstatus][PATCH] backlight: implemented openbsd support

2018-05-23 Thread Tobias Tschinkowitz
On Wed, May 23, 2018 at 03:57:37PM -0300, lucas wrote: > Hi Tobias, > > Two notes below > > > diff --git a/components/backlight.c b/components/backlight.c > > index f9c4096..21e06a1 100644 > > --- a/components/backlight.c > > +++ b/components/backlight.c > > @@ -29,4 +29,30 @@ > > > >