Skip to content

Yabar

programs.yabar.bars

List of bars that should be rendered by yabar.

Type: attribute set of (submodule)

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/yabar.nix

programs.yabar.bars.<name>.extra

An attribute set which contains further attributes of a bar.

Type: attribute set of string

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/yabar.nix

programs.yabar.bars.<name>.font

The font that will be used to draw the status bar.

Type: string

Default

"sans bold 9"

Example

"Droid Sans, FontAwesome Bold 9"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/yabar.nix

programs.yabar.bars.<name>.indicators

Indicators that should be rendered by yabar.

Type: attribute set of (submodule)

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/yabar.nix

programs.yabar.bars.<name>.indicators.<name>.align

Whether to align the indicator at the left or right of the bar.

Type: one of "left", "center", "right"

Default

"left"

Example

"right"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/yabar.nix

programs.yabar.bars.<name>.indicators.<name>.exec

The type of the indicator to be executed.

Type: string

Example

"YABAR_DATE"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/yabar.nix

programs.yabar.bars.<name>.indicators.<name>.extra

An attribute set which contains further attributes of a indicator.

Type: attribute set of (string or signed integer)

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/yabar.nix

programs.yabar.bars.<name>.position

The position where the bar will be rendered.

Type: one of "top", "bottom"

Default

"top"

Example

"bottom"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/yabar.nix

programs.yabar.enable

Whether to enable yabar, a status bar for X window managers. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/yabar.nix

programs.yabar.package

The package which contains the yabar binary.

Nixpkgs provides the yabar and yabar-unstable derivations since 18.03, so it's possible to choose.

Type: package

Default

pkgs.yabar-unstable

Example

pkgs.yabar

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/yabar.nix