diff --git a/README.md b/README.md index 10259fa..c00fc4f 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,10 @@ cmd = "$HOME/bin/tel.sh" #### Config with all parameters described ```toml +light = false # set true for light term (default = false) + # [data] -# path = "/var/log/ttop" # custom storage path (default = if exists /var/log/ttop, else ~/.cache/ttop ) +# path = "/var/log/ttop" # custom storage path (default = if exists /var/log/ttop, else ~/.cache/ttop ) [[trigger]] # telegram example on_alert = true # execute trigger on alert (true if no other on_* provided) diff --git a/src/ttop/onoff.nim b/src/ttop/onoff.nim index 67de1bd..f634055 100644 --- a/src/ttop/onoff.nim +++ b/src/ttop/onoff.nim @@ -15,6 +15,8 @@ proc createToml(file: string) = echo "create ", file writeFile(file, """ +# light = false + # [data] # path = "/var/log/ttop" # custom storage path (default = if exists /var/log/ttop, else ~/.cache/ttop )