about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/fcuny/i3.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/fcuny/i3.nix b/users/fcuny/i3.nix
index 869fbb4..dd01348 100644
--- a/users/fcuny/i3.nix
+++ b/users/fcuny/i3.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ config, pkgs, lib, hostname, ... }:
 let
   mod = "Mod4";
 in
@@ -40,6 +40,6 @@ in
   services.polybar = {
     enable = true;
     package = pkgs.polybarFull;
-    script = "polybar --config=${config.xdg.configHome}/polybar/$(hostname -s).ini -r alone &";
+    script = "polybar --config=${config.xdg.configHome}/polybar/${hostname}.ini -r alone &";
   };
 }