about summary refs log tree commit diff stats
path: root/modules/home/conf/yambar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home/conf/yambar')
-rw-r--r--modules/home/conf/yambar/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/home/conf/yambar/default.nix b/modules/home/conf/yambar/default.nix
index 125030af..007e7f25 100644
--- a/modules/home/conf/yambar/default.nix
+++ b/modules/home/conf/yambar/default.nix
@@ -1,8 +1,8 @@
 {
   nixosConfig,
   sysLib,
-  system,
   pkgs,
+  lib,
   ...
 }: let
   makeScript = {
@@ -38,9 +38,9 @@ in {
       name = "sound-volume";
     };
 
-    cpu_script = pkgs.yambar-cpu;
+    cpu_script = lib.getExe pkgs.yambar-cpu;
 
-    memory_script = pkgs.yambar-memory;
+    memory_script = lib.getExe pkgs.yambar-memory;
 
     disk_script = makeScript {
       dependencies = builtins.attrValues {inherit (pkgs) gawk btrfs-progs coreutils;};