Overview
Wofi serves as the application launcher in this Hyprland setup, providing a clean and customizable interface for launching applications, switching windows, and more.Configuration location
The Wofi configuration is located at.config/wofi/config.
Configuration file
.config/wofi/config
Configuration options
Window settings
Window settings
width=600: Launcher window width in pixelsheight=500: Launcher window height in pixelslocation=center: Position on screen (center, top-left, bottom-right, etc.)
Display mode
Display mode
show=drun: Show desktop applications (alternatives: run, dmenu)prompt=Apps: Text prompt displayed in the search bar
Behavior
Behavior
filter_rate=100: Milliseconds between filter updatesallow_markup=true: Enable Pango markup in entriesno_actions=true: Disable desktop file actionsinsensitive=true: Case-insensitive search
Layout
Layout
halign=fill: Horizontal alignment of contentorientation=vertical: Vertical list orientationcontent_halign=fill: Content horizontal alignment
Visual settings
Visual settings
allow_images=true: Show application iconsimage_size=40: Icon size in pixelsgtk_dark=true: Use dark GTK theme
Usage modes
Wofi supports several modes:drun
Desktop application launcher (default)
run
Command runner for executables
dmenu
Generic menu from stdin
show
Window switcher
Launching Wofi
From Hyprland
Wofi is configured as the default menu in Hyprland:.config/hypr/hyprland.conf
Command line usage
Styling
Wofi uses CSS for styling. The style configuration is typically in.config/wofi/style.css or .config/wofi/menu.css.
Example custom CSS
.config/wofi/menu.css
WiFi menu integration
The configuration includes a WiFi menu script:.config/wofi/woif-wifi.sh
Advanced configuration
Custom width and height
Adjust the launcher size based on your screen resolution:Performance tuning
Image and icon settings
Comparison with other launchers
Wofi
Native Wayland support, lightweight, simple configuration
Rofi
More features, X11 focused, complex configuration
Bemenu
Minimal, dmenu-like, very lightweight
Keybindings within Wofi
When Wofi is open:- Arrow keys / hjkl: Navigate through entries
- Enter: Launch selected application
- Escape: Close Wofi
- Tab: Complete search term
- Ctrl+C: Cancel and close
Troubleshooting
Wofi not showing icons
Wofi not showing icons
Ensure
allow_images=true and check that icon themes are properly installed:Launcher appears in wrong location
Launcher appears in wrong location
Adjust the
location parameter:Search is too slow
Search is too slow
Decrease the filter rate:
Applications not appearing
Applications not appearing
Wofi reads from XDG desktop entries. Verify applications have .desktop files:
Customization examples
Minimal launcher
Large display launcher
Command runner mode
Integration scripts
The configuration includes several integration scripts:woif-wifi.sh: WiFi network selector- Menu integration with Waybar
- Custom dmenu replacement scripts
Related pages
Hyprland
Wofi keybindings in Hyprland
Waybar
Launch Wofi from Waybar