From 448b67fbab4e9a2afcc18b6a918bab3964ba588f Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sun, 9 Oct 2022 20:18:03 -0700 Subject: [PATCH] Only display appropriate polybar modules on ThinkPad --- README.md | 1 + hosts/elnupad/polybar.nix | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 59b7dd6..6f5557c 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,4 @@ - Fix kitty bell disable not working - Add Gruvbox switching support - kitty theme is "Gruvbox Dark", [see the full list](https://github.com/kovidgoyal/kitty-themes/blob/master/themes.json). +- Somehow remove redundant color definitions in [`hosts/elnupad/polybar.nix`](hosts/elnupad/polybar.nix) diff --git a/hosts/elnupad/polybar.nix b/hosts/elnupad/polybar.nix index 907f7e5..ac6f18b 100644 --- a/hosts/elnupad/polybar.nix +++ b/hosts/elnupad/polybar.nix @@ -1,5 +1,14 @@ { pkgs, lib, ... }: +let + # TODO: eliminate redundant color definitions + background = "#2e3440"; + background-alt = "#3b4252"; + foreground = "#eceff4"; + primary = "#8fbcbb"; + alert = "#bf616a"; + disabled = "#434c5e"; +in { home.packages = with pkgs; [ lm_sensors ]; services.polybar.config = {