common: add Wofi config

This commit is contained in:
Aleksey Samoilov 2025-06-13 00:47:02 +04:00
parent 7299c61d01
commit 569b4cc84a
5 changed files with 12 additions and 4 deletions

View file

@ -0,0 +1,8 @@
show=drun
allow_images=true
allow_markup=true
hide_scroll=true
no_actions=true
lines=10
width=600
prompt="Search"

View file

@ -416,7 +416,7 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; }
Mod+D hotkey-overlay-title="Run an Application: wofi" { spawn "wofi --show drun --allow-images --allow-markup --hide-scroll --no-actions -lines 10 -width 35 --prompt "Search""; }
Mod+D hotkey-overlay-title="Run an Application: wofi" { spawn "wofi; }
Super+Alt+L hotkey-overlay-title="Lock the Screen: gtklock" { spawn "/usr/share/tileos/scripts/lock.sh"; }
// You can also use a shell. Do this if you need pipes, multiple commands, etc.

View file

@ -48,7 +48,7 @@ keys = [
desc="Spawn a command using a prompt widget"
),
Key([mod], "d",
lazy.spawn("wofi --show drun --allow-images --allow-markup --hide-scroll --no-actions -lines 10 -width 35 --prompt "Search" --term '{terminal}'"),
lazy.spawn("wofi --term '{terminal}'"),
desc="Launch Wofi menu"
),
# Switch between windows

View file

@ -7,7 +7,7 @@ mod="Mod4"
term="alacritty"
# Application launcher
launcher="eval wofi --show drun --allow-images --allow-markup --hide-scroll --no-actions -lines 10 -width 35 --term $term --prompt "Search""
launcher="eval wofi --term $term"
# Volume changing notify
volume_bar="/usr/share/tileos/scripts/volume-notify.sh"

View file

@ -22,7 +22,7 @@ set $rofi_theme "* {lightbg: $base; background: $base; lightfg: $blue; foregroun
# Your preferred application launcher
# set $menu rofi -show combi -modes combi -combi-modes "drun,run" -terminal "$term" -show-icons -font "$gui-font"
set $menu wofi --show drun --allow-images --allow-markup --hide-scroll --no-actions -lines 10 -width 35 --term $term --prompt "Search"
set $menu wofi --term $term"
# Add --to-code to bindsym, support for non-latin layouts
set $bindsym bindsym --to-code