mirror of
https://git.gay/xqtc/nixos-config
synced 2025-04-30 16:57:29 +02:00
mehr reis
This commit is contained in:
parent
4f06676d01
commit
3a7678c28f
1 changed files with 9 additions and 1 deletions
|
@ -158,13 +158,21 @@
|
|||
# text = "TRANS RIGHTS OR RIOT NIGHTS!";
|
||||
# color = "gradient(rgb(5bcefa) rgb(f5a9bb) rgb(ffffff) rgb(f5a9bb) rgb(5bcefa))";
|
||||
# text = "cmd[update:30000] echo \"<span foreground='##f5a9b8'> $(cat /sys/class/power_supply/BAT0/capacity)</span>\"";
|
||||
text = "cmd[update:1000] echo \"<span foreground='##f5a9b8'>$(for bat in /sys/class/power_supply/BAT*/capacity; do echo -n \" $(basename $(dirname \"$bat\")): $(cat \"$bat\")% \"; done)</span>\"";
|
||||
text = (if config.host != "asmodeus" then "cmd[update:1000] echo \"<span foreground='##f5a9b8'>$(for bat in /sys/class/power_supply/BAT*/capacity; do echo -n \" $(basename $(dirname \"$bat\")): $(cat \"$bat\")% \"; done)</span>\"" else "<span foreground='##f5a9b8'><i>asmodeus</i></span>");
|
||||
font_size = 15;
|
||||
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
position = "0, -350";
|
||||
}
|
||||
{
|
||||
text = (if config.host != "asmodeus" then "cmd[update:1000] echo \"<span foreground='##f5a9b8'><i>$(echo -n $(hostname))</i><span>\"" else "");
|
||||
font_size = 15;
|
||||
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
position = "0, -380";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue