aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sway/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to 'sway/.local/bin')
-rwxr-xr-xsway/.local/bin/sway-menu-run (renamed from sway/.local/bin/wmenu-run)4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/.local/bin/wmenu-run b/sway/.local/bin/sway-menu-run
index 2cda132..318e54d 100755
--- a/sway/.local/bin/wmenu-run
+++ b/sway/.local/bin/sway-menu-run
@@ -1,7 +1,7 @@
#!/bin/sh
cache_dir="${XDG_CACHE_HOME:-"$HOME/.cache"}"
-cache="$cache_dir/wmenu_run"
+cache="$cache_dir/sway-menu-run"
uptodate() {
IFS=:
@@ -28,7 +28,7 @@ get_bin() {
[ ! -e "$cache_dir" ] && mkdir -p "$cache_dir"
if [ ! -e "$cache" ] || ! uptodate; then
- get_bin | sort -u | tee "$cache"
+ get_bin | sort -u | tee "$cache" | sway-menu
else
cat "$cache"
fi