mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-10 15:44:41 -05:00
Also parse global config for dynamic options
This commit is contained in:
parent
3d2491556e
commit
1de6239616
1 changed files with 6 additions and 0 deletions
|
@ -542,6 +542,12 @@ static inline void load_configuration ( )
|
|||
}
|
||||
static inline void load_configuration_dynamic ( )
|
||||
{
|
||||
// Load distro default settings
|
||||
gchar *etc = g_build_filename ( SYSCONFDIR, "rofi.conf", NULL );
|
||||
if ( g_file_test ( etc, G_FILE_TEST_IS_REGULAR ) ) {
|
||||
config_parse_xresource_options_dynamic_file ( etc );
|
||||
}
|
||||
g_free ( etc );
|
||||
// Load in config from X resources.
|
||||
config_parse_xresource_options_dynamic ( xcb );
|
||||
config_parse_xresource_options_dynamic_file ( config_path );
|
||||
|
|
Loading…
Add table
Reference in a new issue