Clean home env

This commit is contained in:
soraefir
2026-06-14 10:39:32 +02:00
parent 577fd364fd
commit abce77a6a6
16 changed files with 125 additions and 123 deletions

View File

@@ -19,8 +19,6 @@ let
in {
config = lib.mkIf (config.usercfg.wm == "Wayland") {
home.packages = [ pkgs.custom.amdgpu_top pkgs.jq ];
programs.waybar = {
enable = true;
package = pkgs.waybar;
@@ -203,8 +201,7 @@ in {
"custom/gpu" = {
"exec" = jsonOutput "gpu" {
tooltip = "...";
percentage = ''
$(amdgpu_top -J -n 1 | jq -r '.devices[0].GRBM2."Command Processor - Graphics".value')'';
percentage = ''$(${lib.getExe pkgs.custom.amdgpu_top} -J -n 1 | ${pkgs.jq}/bin/jq -r '.devices[0].GRBM2."Command Processor - Graphics".value')'';
};
"return-type" = "json";
"interval" = 5;