Fri 5 Jul 23:07:29 CEST 2024
This commit is contained in:
parent
0fa57729fc
commit
b5e139205c
|
@ -18,7 +18,7 @@
|
|||
recursive = true;
|
||||
};
|
||||
home.file."${config.xdg.configHome}/ags/settings.json".text = pkgs.lib.mkDefault (builtins.toJSON {
|
||||
temperature-cmd = "bash -c 'sensors | grep Tctl | cut -c16-22'";
|
||||
temperature-cmd = "bash -c 'sensors | grep Package | cut -c17-23'";
|
||||
});
|
||||
home.file."${config.xdg.configHome}/ags/style.css".text = ''
|
||||
window.bar {
|
||||
|
@ -33,7 +33,7 @@
|
|||
}
|
||||
|
||||
.systray {
|
||||
margin-left: 0.4em;
|
||||
margin-left: 0.6em;
|
||||
}
|
||||
|
||||
.window-box {
|
||||
|
|
|
@ -148,10 +148,9 @@ function Right() {
|
|||
Widget.Label({
|
||||
class_name: "item",
|
||||
label: Variable("", {
|
||||
poll: [2000, 'free', out => (divide(out.split('\n')
|
||||
poll: [2000, 'free', out => (out.split('\n')
|
||||
.find(line => line.includes('Mem:'))
|
||||
.split(/\s+/)
|
||||
.splice(1, 2)) * 100).toFixed(2) + "GB"],
|
||||
.split(/\s+/)[2] / 1000000).toFixed(2) + "GB"],
|
||||
}).bind(),
|
||||
}),
|
||||
Widget.Label({
|
||||
|
|
Loading…
Reference in New Issue