I am writing a code in bash for rofi. tell me how to change window width and height
- User
I am writing a code in bash for rofi. tell me how to change window width and height
Assistant
To change the window width and height for rofi, you can add the
--widthand--heightoptions to therofi-completioncommand. For example:rofi-completion -d menu -i -p 'Select:' -a 'bash' -no-show-all -no-case -no-sort -no-wrap -format '{{entry}}' -l 5 -e 'mark' -w 50 -h 20In this example,
-w 50sets the window width to 50 characters and-h 20sets the window height to 20 lines. Note that-lsets the maximum number of items to display, and-echanges the behavior of the "enter" key. You can find more information about the available options in therofidocumentation.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.