Only display appropriate polybar modules on ThinkPad

inky
Elnu 2 years ago
parent b1531f1a37
commit 448b67fbab

@ -19,3 +19,4 @@
- Fix kitty bell disable not working - Fix kitty bell disable not working
- Add Gruvbox switching support - Add Gruvbox switching support
- kitty theme is "Gruvbox Dark", [see the full list](https://github.com/kovidgoyal/kitty-themes/blob/master/themes.json). - 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)

@ -1,5 +1,14 @@
{ pkgs, lib, ... }: { 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 ]; home.packages = with pkgs; [ lm_sensors ];
services.polybar.config = { services.polybar.config = {

Loading…
Cancel
Save