Skip to content

Commit

Permalink
readme: added icon_path config field in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
luisnquin committed Jan 28, 2024
1 parent e1c2089 commit f204bcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Configuration files should be located in the `$XDG_CONFIG_FILE`. If undefined, t
# battery-notifier/config.toml

interval_ms = 700 # 7s
icon_path = "/absolute/path/to/alternative/icon"

[reminder]
threshold = 30
Expand Down Expand Up @@ -68,6 +69,7 @@ If you use [Home Manager](https://github.com/nix-community/home-manager) to mana
programs.battery-notifier = {
enable = true;
settings = {
icon_path = ../assets/icons/battery-notifier.png; # Nix path
interval_ms = 700;
reminder = {threshold = 30;};
threat = {threshold = 5;};
Expand Down

0 comments on commit f204bcb

Please sign in to comment.