Add callscreen DWM plugin for incoming and active voice calls

This commit is contained in:
Luxferre
2026-10-22 10:17:24 +03:00
parent cbac6743bc
commit 6e58218e10
38 changed files with 2120 additions and 38 deletions
@@ -3,4 +3,8 @@
# This script is executed after the last call finished
if command -v xcallscreen >/dev/null 2>&1; then
xcallscreen ended >/dev/null 2>&1 || true
fi
sxmo_playerctl.sh resume_all
@@ -401,8 +401,14 @@ case "$ACTION" in
exit 0
;;
"enter_one")
if pidof -s sxmo_RepeatRing.sh >/dev/null; then
sxmo_hook_pickup.sh
if [ -e /tmp/sxmo_call_ringing ] || [ -e "$XDG_RUNTIME_DIR/sxmo_jobs/ringing" ] || pidof -s sxmo_RepeatRing.sh >/dev/null; then
if command -v xcallscreen >/dev/null 2>&1; then
xcallscreen accept
else
sxmo_hook_pickup.sh
fi
elif [ -e /tmp/sxmo_active_call ] && command -v xcallscreen >/dev/null 2>&1; then
xcallscreen
else
sxmo_appmenu.sh "$WMCLASS" "$WMNAME"
fi