Add callscreen DWM plugin for incoming and active voice calls
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user