🎯 Application launcher for Wayland, written in Rust with GTK4
Worf is yet another style launcher, heavily inspired by wofi, rofi, and walker. Built from the ground up with Rust and GTK4, it offers exceptional performance and modern styling capabilities.
- 🧮 Math - Including binary/hex conversion and bitwise operations (
&
,|
,^
,<<
,>>
) - 🚀 DRun - Desktop application launcher
- 📁 File - File browser and launcher
- 🖥️E SSH - Quick SSH connection launcher
- ⚡ Run - Command execution
- 😊 Emoji - Emoji picker
- 🔍 Web Search - Quick web searches
- 🤖 Auto - Intelligent mode detection
Auto mode intelligently detects what you're trying to do! Use these prefixes for quick access:
Prefix | Mode | Description |
---|---|---|
ssh |
SSH | Connect to servers (optional prefix) |
? |
Web Search | Search the web |
/ , $ , ~ |
Files | Browse filesystem |
Styling is wofi-compatible with enhanced GTK4 features! Customize every aspect of your launcher.
Selector | Description |
---|---|
window |
Main application window |
outer-box |
Container for all elements |
input |
Search input field |
scroll |
Scrollable results container |
inner-box |
Menu entries container |
entry |
Individual result entry |
text |
Entry text content |
img |
Entry icons |
row |
Entry row (for hover effects) |
custom-key-label-text |
Custom key labels |
custom-key-label-box |
Custom key label container |
custom-key-hint-text |
Custom key hints |
custom-key-hint-box |
Custom key hint container |
- GTK4
- Wayland
- GTK4 layer shell
sudo pacman -S gtk4 gtk4-layer-shell
Ubuntu does not ship gtk4-layer-shell in a supported version. Therefore it must be build manually
sudo apt install -y librust-gdk4-sys-dev \
libglib2.0-dev libgtk-layer-shell-dev libgtk-layer-shell0 gir1.2-gtklayershell-0.1 \
libgtk-4-dev gobject-introspection libgirepository1.0-dev gtk-doc-tools python3 valac \
git cmake gcc meson ninja-build
cd /tmp
git clone https://github.com/wmww/gtk4-layer-shell
cd gtk4-layer-shell
meson setup -Dexamples=true -Ddocs=true -Dtests=true build
ninja -C build
sudo ninja -C build install
sudo ldconfig
Enable beautiful blur effects for Worf:
layerrule = blur, worf
🔧 Developer-Friendly: Worfs launcher and UI components are available as a separate crate for building custom launchers.
⚠️ Note: The library API is currently in development and not yet available on crates.io.
The possibilities are endless! Here are some powerful examples of what you can build with Worf:
Full-screen exit menu for Hyprland
- Full screen exit menu
- Shell script using dmenu mode
- Desktop hiding with background display
- Uses launcher theme styling
Elegant window switcher
- Advanced window selector
- Written in Rust using Worf API
- Featuring AmberNight theme with centered content
Beautiful Bitwarden frontend
- Bitwarden integration via rbw
- Additional dependencies required (see readme)
- Showcasing GlacierPrism theme with blurred background
Time tracking made simple
- Time tracking with rtw
- Using AmberNight theme with custom positioning
- Themes: Mostly compatible with existing wofi themes
- Selectors: Same entity IDs for easy migration
- Core Functionality: Similar behavior and features
- Runtime behaviour is not guaranteed to be the same and won't ever be, this includes error messages and themes.
- Themes in general are mostly compatible. Worf is using the same entity ids, because worf is build on GTK4 instead of GTK3 there will be differences in the look and feel.
- Configuration files are not 100% compatible, Worf is using toml files instead, for most part this only means strings have to be quoted
- Color files are not supported
- line_wrap is now called line-wrap
- Wofi has a C-API, that is not and won't be supported, but Worf can be used as a rust library.
- Most boolean options now need true or false as argument, as Worf is using the same struct for config and command line arguments and this is the only way to merge both data sources
- Removed x,y offset and global coords as GTK4 does not support this anymore, similar results can be achieved with
--location
- Removed copy_exec as we are not executing a binary to copy data into the clipboard
mode
→ Useshow
insteaddmenu
→ Useshow
insteadD
→ Arguments = config nowdark
→ Auto-detected from themefilter-rate
→ No longer needed, Worf is fast enough
stylesheet
→ Usestyle
insteadcolor
/colors
→ Use GTK4 CSS instead
Found a compatibility issue? We welcome feedback and contributions! While 100% wofi compatibility isn't guaranteed, we're happy to help you transition to Worf.
The background image used for all screenshots can be found in images/background.jpg
and is taken in Arthurs Pass New Zealand.
GPL V3, see Copying
Made with ❤️ and 🦀
Star ⭐ this repo if you find it useful!