Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.i3blocks.enable

Whether to enable i3blocks i3 status command scheduler.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.i3blocks.package

The i3blocks package to use.

Type: package

Default:

pkgs.i3blocks

Declared by:

programs.i3blocks.bars

Configuration written to i3blocks config

Type: attribute set of (DAG of attribute set of (INI atom (null, int, bool, string, or float)))

Default:

{ }

Example:

{
  top = {
    # The title block
    title = {
      interval = "persist";
      command = "xtitle -s";
    };
  };
  bottom = {
    time = {
      command = "date +%r";
      interval = 1;
    };
    # Make sure this block comes after the time block
    date = lib.hm.dag.entryAfter [ "time" ] {
      command = "date +%d";
      interval = 5;
    };
    # And this block after the example block
    example = lib.hm.dag.entryAfter [ "date" ] {
      command = "echo hi $(date +%s)";
      interval = 3;
    };
  };
}

Declared by: