Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display-power-menu seems not to work #29

Open
Serpentian opened this issue Jan 9, 2024 · 3 comments
Open

display-power-menu seems not to work #29

Serpentian opened this issue Jan 9, 2024 · 3 comments

Comments

@Serpentian
Copy link

Launching rofi with the following command:

rofi -show drun -display-power-menu "fdjsfjds"

Causes the following output:
image

It's still named "Power..." not my random name in combi mode (right side).

Serpentian added a commit to Serpentian/AlfheimOS that referenced this issue Jan 9, 2024
It seems, that icon doesn't work. Created ticket for that:
jluttine/rofi-power-menu#29.
@imadnyc
Copy link

imadnyc commented Feb 19, 2024

Would love to know how to fix this

@maxilla-0
Copy link

Maybe you found out how to do this, but in case if someone else is looking for the solution, here is how to do this:

Line 234 in rofi-power-menu:

echo -e "\0prompt\x1fPower menu"

You have to replace Power menu with the icon of your choice and that will change the prompt text.

@Serpentian, you may now mark the issue as solved.

[Sorry for my bad english, I'm not a native speaker.]

@imadnyc
Copy link

imadnyc commented Sep 17, 2024

Thanks! I just ignored the issue truthfully, but now I can finally replace it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants