sway_search: replace with rg + wofi
This commit is contained in:
parent
b0c05d7aa4
commit
d27db84d35
2 changed files with 5 additions and 2 deletions
3
bin/sway_search
Executable file
3
bin/sway_search
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
xdg-open "$(rg --no-messages --files $HOME -g '!{*.zip,*.rar,*.gz}' | \
|
||||||
|
wofi --dmenu --insensitive --prompt 'find')"
|
4
config
4
config
|
@ -26,7 +26,7 @@ set $font Cascadia Code PL Regular 10
|
||||||
|
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
set $menu wofi --show drun --prompt applications
|
set $menu wofi --show drun --prompt applications
|
||||||
set $files termite -t fzf -e \"fzf --bind 'return:execute(nohup xdg-open {} &> /dev/null &)+abort'\"
|
set $search_cmd $HOME/.config/sway/bin/sway_search
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -93,7 +93,7 @@ bindsym --release button3 kill
|
||||||
|
|
||||||
# Start your launcher
|
# Start your launcher
|
||||||
bindsym $mod+r exec $menu
|
bindsym $mod+r exec $menu
|
||||||
bindsym $mod+Shift+r exec $files
|
bindsym $mod+Shift+r exec $search_cmd
|
||||||
|
|
||||||
# Drag floating windows by holding down $mod and left mouse button.
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
# Resize them with right mouse button + $mod.
|
# Resize them with right mouse button + $mod.
|
||||||
|
|
Loading…
Reference in a new issue