various scripts were not sourcing the common include script yet (noted by mrrabbit1155)

This commit is contained in:
Maarten van Gompel 2021-02-20 14:20:03 +01:00
parent d71c11d993
commit 295af30993
25 changed files with 119 additions and 0 deletions

View file

@ -1,6 +1,11 @@
#!/usr/bin/env sh
ACTION="$1"
# include common definitions
# shellcheck source=scripts/core/sxmo_common.sh
. "$(dirname "$0")/sxmo_common.sh"
XPROPOUT="$(xprop -id "$(xdotool getactivewindow)")"
WMCLASS="$(echo "$XPROPOUT" | grep WM_CLASS | cut -d ' ' -f3- | cut -d ' ' -f1 | tr -d '\",')"