common: add Wofi config
This commit is contained in:
parent
7299c61d01
commit
569b4cc84a
5 changed files with 12 additions and 4 deletions
8
common/etc/skel/.config/wofi/config
Normal file
8
common/etc/skel/.config/wofi/config
Normal 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"
|
|
@ -416,7 +416,7 @@ binds {
|
||||||
|
|
||||||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||||
Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; }
|
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"; }
|
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.
|
// You can also use a shell. Do this if you need pipes, multiple commands, etc.
|
||||||
|
|
|
@ -48,7 +48,7 @@ keys = [
|
||||||
desc="Spawn a command using a prompt widget"
|
desc="Spawn a command using a prompt widget"
|
||||||
),
|
),
|
||||||
Key([mod], "d",
|
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"
|
desc="Launch Wofi menu"
|
||||||
),
|
),
|
||||||
# Switch between windows
|
# Switch between windows
|
||||||
|
|
|
@ -7,7 +7,7 @@ mod="Mod4"
|
||||||
term="alacritty"
|
term="alacritty"
|
||||||
|
|
||||||
# Application launcher
|
# 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 changing notify
|
||||||
volume_bar="/usr/share/tileos/scripts/volume-notify.sh"
|
volume_bar="/usr/share/tileos/scripts/volume-notify.sh"
|
||||||
|
|
|
@ -22,7 +22,7 @@ set $rofi_theme "* {lightbg: $base; background: $base; lightfg: $blue; foregroun
|
||||||
|
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
# set $menu rofi -show combi -modes combi -combi-modes "drun,run" -terminal "$term" -show-icons -font "$gui-font"
|
# 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
|
# Add --to-code to bindsym, support for non-latin layouts
|
||||||
set $bindsym bindsym --to-code
|
set $bindsym bindsym --to-code
|
||||||
|
|
Loading…
Add table
Reference in a new issue