3 ms·
I use it to display Grafana. I also have a little abandoned side project where I used a Pi + spare monitor to display contextual information. My shell prompt p
by dale_glass 5y ago
I use it to display Grafana.
I also have a little abandoned side project where I used a Pi + spare monitor to display contextual information. My shell prompt passes data to a python script, which connects to the Pi and sends commands to Sway to display something contextually appropriate depending on what I'm doing.
So for instance if I move to a directory with a git repo, it'll show me the git log, and if the branch is named after a ticket in the bug tracker, it'll add a pane with the corresponding info. In an idle state it shows the chat and mail client.
This made sense at the time since I didn't have a way to hook up a second external monitor to that laptop anyway, and the overall idea of having a display that anticipated my likely needs a lot of the time was useful. Covid kind of put a stop to that since my home setup is quite different, but I still might pick it back up.
- eurasiantiger 5y agoThis is really interesting. Is there any code you could share?
- dale_glass 5y agoI'll try and see if I can dig something up, but it was really prototype quality and not made to be deployed anywhere else yet.