2021-04-15 14:40:48 +02:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
let
|
2021-07-15 18:51:27 +02:00
|
|
|
desk = (import ./desktop.nix { inherit pkgs lib; });
|
2021-04-15 14:40:48 +02:00
|
|
|
desk_blocks = desk.programs.i3status-rust.bars.bar_0.blocks;
|
|
|
|
lap_blocks = [{ block = "backlight"; } { block = "battery"; }] ++ desk_blocks;
|
|
|
|
lap = lib.recursiveUpdate desk { programs.i3status-rust.bars.bar_0.blocks = lap_blocks; };
|
|
|
|
in
|
|
|
|
lap
|