Skip to content

[BUG] script mode didn't find scripts under $HOME/.config/rofi/scripts/ #2043

@kuppo

Description

@kuppo

Rofi version (rofi -v)

Version: 1.7.5

Configuration

default config with rofi -no-config

Theme

no theme

Timing report

No response

Launch command

rofi -show Mode -modes "Mode:script.sh"

Step to reproduce

  1. Suppose I have a script under $HOME/.config/rofi/scripts/script.sh with +x bit set.
  2. when I run rofi -show Mode -modes "Mode:script.sh", it gives an error 'no such file or directory'

Expected behavior

rofi should find the script and runs it.

Actual behavior

It give error about 'no such file and dirctory'

Additional information

rofi-script manual page says, I quote,

Scripts located in the following location are loaded on startup:

  • The script is in $XDG_CONFIG_PATH/rofi/scripts/, this is usually ~/.config/rofi/scripts/.

The XDG specification doesn't have a variable called XDG_CONFIG_PATH, only XDG_CONFIG_HOME. Don't know if this is just an manual typo or an implementation error. Anyhow, it doesn't work.

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