Integrate dmenu as a preloaded zero-lag DWM plugin (dmenu.so)

This commit is contained in:
Luxferre
2026-10-21 17:37:51 +03:00
parent 7da7352a6d
commit d240f25131
34 changed files with 2835 additions and 1232 deletions
+10
View File
@@ -2,6 +2,16 @@
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors
if [ "${1:-}" = "--fallback" ]; then
shift
elif [ -p /tmp/dwm_plugin_dmenu.fifo ]; then
case "${1:-}" in
""|sys|applications|scripts|modem|config|power|sthotkeys)
exec dmenu "${1:-ctx}"
;;
esac
fi
# include common definitions
# shellcheck source=configs/default_hooks/sxmo_hook_icons.sh
. sxmo_hook_icons.sh