snackbar
1.0.0
earthly, guix, or makeearthly +build
make build
building with guix requires either my guix channel or the package manifest and some basic modifications
guix build snackbargit clone https://github.com/michaeldelago/delaguixguix build --load-path="$(pwd)/delaguix" snackbarIf using guix and either using my channel or building locally:
Install package
$ guix install snackbar
If using guix and artifacts from most recent CI run:
Authorize the signing key of the build server
$ sudo guix archive --authorize < etc/guix/signing-key.pub
Install downloaded nar file
$ guix archive --import < home/runner/work/snackbar/snackbar/snackbar.nar
Else:
Move executable from build/snackbar to ~/bin/snackbar
$ mv ./build/snackbar ~/bin/snackbar
Configure sway
~/.config/sway/config:
bar {
position top
status_command while ~/bin/snackbar; do sleep 1; done
colors {
statusline #ffffff
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
}
}
Reload sway (default $mod+shift+c)
avail: 26.9G used: 10.9% | /: 4% | ? 85% | bat0 77.4% ?⚡ | bat1 16.5% ? | Tue, Jul 12 2022 4:40 pm
For context, I'm using a thinkpad t480 with 2 batteries.
It felt like it'd be fun to do, and I wanted a somewhat practical project for common lisp.
There's a previous iteration of this project, written in python
Probably not
I don't know
Probably not