From df357c78163df214678c097484f4dc0d6b741afb Mon Sep 17 00:00:00 2001 From: krizej <60076189+krizej@users.noreply.github.com> Date: Fri, 5 Jul 2024 01:35:08 +0200 Subject: [PATCH] i3status changes --- pkgs/default.nix | 1 + programs/i3.nix | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/default.nix b/pkgs/default.nix index c5d676a..db1194d 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -10,5 +10,6 @@ pkgs: [ arc-mono-gtk-theme = pkgs.callPackage ./arc-mono-gtk-theme.nix {}; vim-darcula-theme = pkgs.callPackage ./vim-darcula-theme.nix {}; sddm-i3-theme = pkgs.callPackage ./sddm-i3-theme.nix {}; + i3status = prev.i3status.overrideAttrs (_: { patches = [ ../files/i3status.patch ]; }); }) ] diff --git a/programs/i3.nix b/programs/i3.nix index 731423a..643a5df 100644 --- a/programs/i3.nix +++ b/programs/i3.nix @@ -1,7 +1,6 @@ { config, pkgs, ... }: let HOME = config.home-manager.users.krizej.home.homeDirectory; - i3status_cpufix = pkgs.i3status.overrideAttrs (_: { patches = [ ../files/i3status.patch ]; }); in { services.xserver.windowManager.i3.enable = true; home-manager.users.krizej = { @@ -45,7 +44,7 @@ in { { inherit fonts; trayOutput = "primary"; - statusCommand = "${i3status_cpufix}/bin/i3status"; + statusCommand = "${pkgs.i3status}/bin/i3status"; } ]; @@ -169,7 +168,6 @@ in { programs.i3status = { enable = true; enableDefault = false; - package = i3status_cpufix; general = { interval = 1;