Sway : Add launcher prompt.

This commit is contained in:
Dmitry Voronin 2024-03-30 05:30:36 +03:00
parent 5ff49694b9
commit 8519c17087
2 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,11 @@
# Wrapped dmenu_path to include my functions. # Wrapped dmenu_path to include my functions.
function _dmenu_path_wrapped() { function _dmenu_path_wrapped() {
echo c=0
while [ ${c} -lt 1000 ]; do
echo
((c++))
done
dmenu_path dmenu_path
find_function | grep -v ^_ find_function | grep -v ^_
} }

View file

@ -1,4 +1,4 @@
# Application launcher. # Application launcher.
# Note: pass the final command to swaymsg so that the resulting window can be opened # Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on. # on the original workspace that the command was run on.
set $menu _dmenu_path_wrapped | wmenu -S d79921 -s 000000 -f "SF Pro Display Medium 14" | xargs swaymsg exec -- set $menu _dmenu_path_wrapped | wmenu -b -p 'Run:' -M d79921 -m 000000 -i -S d79921 -s 000000 -f "SF Pro Display Medium 14" | xargs swaymsg exec --