mirror of
https://github.com/kmein/niveum
synced 2026-03-21 12:21:08 +01:00
chore(i3-status-rust): clean up
This commit is contained in:
@@ -10,17 +10,6 @@
|
|||||||
pkgs.writers.writeDash "setsid-command" ''
|
pkgs.writers.writeDash "setsid-command" ''
|
||||||
${pkgs.utillinux}/bin/setsid ${script}
|
${pkgs.utillinux}/bin/setsid ${script}
|
||||||
'';
|
'';
|
||||||
coronaBlock = {
|
|
||||||
block = "custom";
|
|
||||||
interval = 60 * 2; # every two minutes
|
|
||||||
command = pkgs.writers.writeDash "corona" ''
|
|
||||||
${pkgs.curl}/bin/curl https://corona-stats.online/germany \
|
|
||||||
| ${pkgs.gnugrep}/bin/grep Germany \
|
|
||||||
| ${pkgs.gnused}/bin/sed 's/\s*//g' \
|
|
||||||
| ${pkgs.ansifilter}/bin/ansifilter \
|
|
||||||
| ${pkgs.gawk}/bin/awk -F'│' '{print "🤒 " $8 " 💀 " $5}'
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
in {
|
in {
|
||||||
theme = {
|
theme = {
|
||||||
name = "plain";
|
name = "plain";
|
||||||
|
|||||||
Reference in New Issue
Block a user