Display rileys gender and pronouns in status bar uwu

This commit is contained in:
Bad 2022-06-20 23:01:06 +02:00
parent 404f80c1d5
commit dc3e284ffd

View file

@ -75,6 +75,16 @@ in
enable = true; enable = true;
bars.bar_0 = { bars.bar_0 = {
blocks = [ blocks = [
{
block = "custom";
command = ''
set -euo pipefail
gender="$(${pkgs.curl}/bin/curl 'https://rly.cx/api/gender')"
pronouns="$(${pkgs.curl}/bin/curl 'https://rly.cx/api/pronouns')"
echo -n "Riley: $gender ($pronouns)"
'';
interval = 360;
}
{ {
block = "disk_space"; block = "disk_space";
path = "/"; path = "/";