Linux command
wofi 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
wofi -S drun
Example
wofi -S run
Dmenu
printf "Choice1\nChoice2\nChoice3" | wofi -d
说明
wofi is an application launcher for wlroots-based Wayland compositors. It functions similarly to rofi and dmenu, providing a searchable menu for launching applications or selecting items. The drun mode shows desktop applications while run mode shows all executables in PATH.
参数
- -S, --show _MODE_
- Show mode: drun (applications), run (commands), dmenu
- -d, --dmenu
- Run in dmenu mode (read from stdin)
- --style _FILE_
- Custom CSS stylesheet
- --conf _FILE_
- Configuration file
FAQ
What is the wofi command used for?
wofi is an application launcher for wlroots-based Wayland compositors. It functions similarly to rofi and dmenu, providing a searchable menu for launching applications or selecting items. The drun mode shows desktop applications while run mode shows all executables in PATH.
How do I run a basic wofi example?
Run `wofi -S drun` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -S, --show _MODE_ do in wofi?
Show mode: drun (applications), run (commands), dmenu