The global config.json
The configuration is done in the config.json file in the directory ~/.local/share/looksyk. This path can be changed
with the environment variable LOOKSYK_CONFIG_PATH.
The default graph location is in ~/graph (or the configured location in the ~/.local/share/looksyk/config.json).
Graph specific configuration
Each graph can have its own configuration files in the config folder of the graph. All configuration options can be configured in the settings tab in the sidebar of the application.
The following options can be configured in the config/config.json file of the graph:
title: The title of the graph, displayed in sidebar and window titlefavourites: An array of page IDs, which are displayed in the favourites section in the sidebardesign: The design of the application. See design documentation for more information.journal-configuration: Configuration for the journal feature, including:journal_title_format: The format of the journal title. It supports the valuesworldfor the formatDD.MM.YYYY,americanfor the formatMM/DD/YYYYandisofor the formatYYYY-MM-DD.show_weekday_in_title: Value to show the weekday in the journal title. Acceptsnone,as_prefixandas_suffix.
CLI-Arguments
The command looksyk accepts the following command line arguments:
--graph-locationto specify the location of the graph (default:~/graph)--portto specify the port of the backend (default:11000)--window-widthto specify the width of the window (default:1200)--window-heightto specify the height of the window (default:800)--window-zoomto specify the zoom level of the window (default:-0.6)
Flatpak Restrictions
Note for Flatpak from FlatHub users (this does not apply to the manual flatpak-build or the download from github):
Changing the graph location is only possible, if the Flatpak is run with the --filesystem=home option, otherwise the
graph location is fixed to ~/graph.