davatorium / rofi

Rofi: A window switcher, application launcher and dmenu replacement
https://davatorium.github.io/rofi/
Other
13.24k stars 613 forks source link

Toggle ellipize #917

Closed vredesbyyrd closed 5 years ago

vredesbyyrd commented 5 years ago

Version

1.5.2

Configuration

gist

Launch Command

rofi -show top -modi top

Steps to reproduce

What behaviour you see

What behaviour you expect to see

Further Details

Being able to dynamically change the windows view in order to view truncated lines would be a nice feature. Basically, functioning left/right keys. I know this is a great example of something being easier said than done, and their being a lot to consider. Although I stumbled on #399 which has the same end goal and mentions this patch, which I unsuccessfully tried to apply. I am assuming it won't build since rofi's code has evolved so much since then.

My question: if I went through line by line and manually added the contents of that patch where its needed, could i get the keybinding and behavior to "toggle ellipsis"? Or has rofi's code base changed so much that the patch is now obsolete?

I am using rofi as a narrow sidebar that displays screen right, and with certain scripts and plugins I use having the ability to toggle between a lines beginning and end could be helpful, e.g how I prefer to display _rofitop:

Any thoughts on accomplishing this would be appreciated. Thanks for your time.

rofi-2019-02-15-1926-00000

DaveDavenport commented 5 years ago

The patch won't work anymore. Rofi code base has been in flux a lot. I can see a use for this, will add it to the todo.

vredesbyyrd commented 5 years ago

That is awesome to hear. Thanks for the followup.

DaveDavenport commented 5 years ago

Implemented, Should be bound to Alt+period.

vredesbyyrd commented 5 years ago

Just did some lite testing on commit 52c5592 and it seems to be working great :)

github-actions[bot] commented 4 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.