-- Leo's gemini proxy

-- Connecting to gem.hack.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

2022-07-18


dwl again


Trying out dwl again on my non-work computers. I'm using it with the pertag and the movestack patches. In the case of the tower machine I also applied the output-power-management patch so wlopm can turn off the screen after idling for a while.


I'm using somebar as a status bar. Just feeding it with i3status right now like this:


#!/bin/sh

while [ ! -p $XDG_RUNTIME_DIR/somebar-0 ]
do
    sleep 1
done

i3status | while :
do
    read line
    echo "status $line" >> $XDG_RUNTIME_DIR/somebar-0
done

somebar is nice in that it automatically discovers new outputs unlike, for example, yambar. I patched it a bit to make the indicators clearer:


diff --git a/src/bar.cpp b/src/bar.cpp
index fab5a8f..f0753ff 100644
--- a/src/bar.cpp
+++ b/src/bar.cpp
@@ -247,11 +247,11 @@ void Bar::renderTags()
 		renderComponent(tag.component);
 		auto indicators = std::min(tag.numClients, static_cast<int>(_bufs->height/2));
 		for (auto ind = 0; ind < indicators; ind++) {
-			auto w = ind == tag.focusedClient ? 7 : 1;
+			auto w = ind == tag.focusedClient ? 7 : 4; // Width of indicator
 			cairo_move_to(_painter, tag.component.x, ind*2+0.5);
 			cairo_rel_line_to(_painter, w, 0);
 			cairo_close_path(_painter);
-			cairo_set_line_width(_painter, 1);
+			cairo_set_line_width(_painter, 4); // Height of indicator
 			cairo_stroke(_painter);
 		}
 	}

That is, mark tags with windows on them with a 4x4 pixel square instead of the default single pixel, and make the current tag more obvious too. Should probably move these configs to config.hpp and perhaps try to upstream it.


#2 visits


My son Gabriel is visiting us here in the cottage. We've spent many hours just talking. We also watched the brilliant "Apollo 11" documentary together the first night and then "The Fifth Estate" last night. He's planning on spending his time while I'm working with his electric guitar, his external sound card and a DAW, writing and recording his own music. He played some for me and it's really good. Hopefully he'll publish it somewhere.


I think "The Fifth Estate" is much better than its reputation. I've heard it described as "It's just a couple of nerds running around with stickers on their laptops!" but, well, I think they handled it well. I don't know if it's the fact that it resonates so well with my own daily life that it works. Maybe. Nice to see more-or-less realistic interfaces with Awesome WM and, I think, dvtm in a film, as well.


Fridge problems


The freezer stopped working a few days ago. The fridge is still working most of the time but suddenly stops once in a while. This is a far larger problem out here in the cottage with a bit of a distance to the shop and, currently, no car to use for shopping. Trying to cope but we might have to give up and go back to town.


Security nihilism


Read Daniel "dkg" Kahn Gillmor's nice text about security nihilism:


https://www.aclu.org/blog/privacy-technology/internet-privacy/encrypted-email-and-security-nihilism


and the corresponding text about e-mail cryptography:


https://dkg.fifthhorseman.net/blog/e-mail-cryptography.html


Nice stuff!


Still haven't got Autocrypt in Notmuch, though, but I'll get to it.


SIP and Mumble


Tried using mumsi to set up a way to dial in with a SIP phone to a Mumble conference. I tried using the available mumsi Docker image but it didn't work. Judging from the error messages I got it looked like mumsi needed access to ALSA!? What? Why?


Maybe this abandonware thing is not what I'm looking for, but it would be nice to call in to the weekly hacklunch with an old phone.


mc,

Prickle-Prickle, the 53 day of Confusion in the YOLD 3188


mc

mc's gemlog

-- Response ended

-- Page fetched on Tue May 21 18:32:47 2024