1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00

feat(todo.txt): reactivate and add to status bar

This commit is contained in:
Kierán Meinhardt
2020-04-23 13:15:34 +02:00
parent e21eb7887c
commit 49cd307026
2 changed files with 18 additions and 10 deletions

View File

@@ -21,7 +21,7 @@
name = "none";
overrides = {
time = "📅 ";
music = "🎵 ";
music = "🎵";
music_play = "";
music_pause = "";
music_next = "";
@@ -35,13 +35,13 @@
bat_discharging = "🔋";
bat_quarter = "🔋";
bat_three_quarters = "🔋";
net_up = "🌐 ";
net_down = " ";
net_wireless = "📶 ";
net_wired = "🌐 ";
net_up = "🌐";
net_down = "";
net_wireless = "📶";
net_wired = "🌐";
net_vpn = "🛡 ";
toggle_off = " ";
toggle_on = " ";
toggle_off = "👎";
toggle_on = "👍";
volume_full = "🔊 ";
volume_half = "🔉 ";
volume_muted = "";
@@ -78,6 +78,13 @@
${pkgs.newsboat}/bin/newsboat -x reload && ${pkgs.libnotify}/bin/notify-send newsboat "Feeds updated."
'';
}
{
block = "custom";
interval = 60;
command = pkgs.writers.writeDash "tasks" ''
${pkgs.todo-txt-cli}/bin/todo.sh list | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print " " $2 }'
'';
}
{
block = "net";
device = wifi-interface;