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