Skip to content

[BUG] -config path resolved differently from -theme path #2040

@coloursofnoise

Description

@coloursofnoise

Rofi version (rofi -v)

Version: 1.7.5

Configuration

https://gist.github.com/coloursofnoise/9a0c574a1c50df9aad94e78ebb09407c#file-config-rasi

Theme

https://gist.github.com/coloursofnoise/9a0c574a1c50df9aad94e78ebb09407c#file-theme-rasi

Timing report

No response

Launch command

rofi -config test.rasi

Step to reproduce

% cat  > `$XDG_CONFIG_HOME/rofi/test.rasi` <<EOF
configuration {
    modes: [ "filebrowser" ];
}
EOF
% rofi -config test.rasi -dump-theme

Expected behavior

-dump-config output should include modes: "filebrowser";.

Actual behavior

-dump-config output only has default values (/* modes: "window,drun,run,ssh";*/).

Additional information

This behaviour differs from the -theme option, which does work with test.rasi.

Using wayland display server protocol

  • No, I don't use the wayland display server protocol

I've checked if the issue exists in the latest stable release

  • Yes, I have checked the problem exists in the latest stable version

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions