Polybar: Difference between revisions

From NixOS Wiki
imported>Srid
(cli too)
(Edit the path to example configuration file.)
 
Line 1: Line 1:
== Getting started ==
== Getting started ==


You can copy the example configation from <code>/nix/store/<hash>-polybar-<version>/share/doc/polybar/config</code> to <code>~/.config/polybar/example</code> and launch with <code>polybar -c ~/.config/polybar/example example</code>
You can copy the example configation from <code>/nix/store/<hash>-polybar-<version>/share/doc/polybar<ins>/examples</ins>/config.ini</code> to <code>~/.config/polybar/config.ini</code> and launch with <code>polybar -c ~/.config/polybar/config.ini example</code>


This default config requires the icon font 'siji' which can be installed as documented on [Fonts]
This default configuration requires the icon font 'siji' which can be installed as documented on [Fonts]


== Configuration ==
== Configuration ==


See the [https://github.com/polybar/polybar/wiki/Configuration upstream docs] for further configuration options
See the [https://github.com/polybar/polybar/wiki/Configuration upstream docs] for further configuration options

Latest revision as of 19:53, 2 April 2024

Getting started

You can copy the example configation from /nix/store/<hash>-polybar-<version>/share/doc/polybar/examples/config.ini to ~/.config/polybar/config.ini and launch with polybar -c ~/.config/polybar/config.ini example

This default configuration requires the icon font 'siji' which can be installed as documented on [Fonts]

Configuration

See the upstream docs for further configuration options