added temp in waybar

This commit is contained in:
aethrvmn 2024-08-01 17:34:17 +02:00
parent 765fe0e5b2
commit 553220bcb8
3 changed files with 34 additions and 4 deletions

10
blas.nix Normal file
View file

@ -0,0 +1,10 @@
self: super: {
blas = super.blas.override {
blasProvider = self.openblas;
};
lapack = super.lapack.override {
lapackProvider = self.openblas;
};
}

View file

@ -66,7 +66,16 @@
# Flakes setup
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
nixpkgs = {
config.allowUnfree = true;
};
virtualisation = {
docker = {
enable = true;
enableOnBoot = true;
};
};
# Garbage collection
nix.gc = {
@ -89,6 +98,7 @@
nim
nimble
openblas
openblasCompat
playerctl
poetry
python311Full

View file

@ -35,6 +35,7 @@
];
modules-right = [
"temperature"
"network"
"bluetooth"
"battery"
@ -47,8 +48,8 @@
warning = 30;
critical = 15;
};
format = "{icon} {capacity}%";
format-charging = " {capacity}%";
format = "{capacity}% {icon}" ;
format-charging = "{capacity}% ";
format-icons = [ "" "" "" "" "" ];
};
@ -120,6 +121,13 @@
on-click-right = "pavucontrol";
};
"temperature" = {
format-critical = "{temperatureC}°C ";
format = "{temperatureC}°C {icon}";
format-icons = ["" "" "" ""];
critical-threshold = 90;
};
"tray" = {
icon-size = 18;
spacing = 10;
@ -166,6 +174,7 @@
#cava,
#clock,
#pulseaudio,
#temperature,
#tray,
#network,
#custom-media,
@ -190,7 +199,8 @@
}
#bluetooth,
#network {
#network,
#temperature {
border-radius: 10px;
margin-right: 10px;
padding-left: 10px;