Sway : Add launcher prompt.
This commit is contained in:
parent
5ff49694b9
commit
8519c17087
|
@ -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() {
|
||||||
|
c=0
|
||||||
|
while [ ${c} -lt 1000 ]; do
|
||||||
echo
|
echo
|
||||||
|
((c++))
|
||||||
|
done
|
||||||
|
|
||||||
dmenu_path
|
dmenu_path
|
||||||
find_function | grep -v ^_
|
find_function | grep -v ^_
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 --
|
||||||
|
|
Loading…
Reference in a new issue