participants text color issue and main tile profile pic issue

This commit is contained in:
2026-06-06 20:27:33 +05:30
parent 9c5a375632
commit 00aa8ec8ec
6 changed files with 168 additions and 7 deletions

View File

@@ -0,0 +1,30 @@
#!/usr/bin/env bash
local_jitsi_config_dir() {
local root_dir="$1"
local local_dir="$root_dir/local"
if [[ -n "${POLITICTALK_LOCAL_JITSI_CONFIG_DIR:-}" ]]; then
printf '%s\n' "$POLITICTALK_LOCAL_JITSI_CONFIG_DIR"
return
fi
if grep -qi microsoft /proc/version 2>/dev/null && [[ "$root_dir" == /mnt/* ]]; then
printf '%s\n' "$HOME/politictalk-jitsi-cfg"
return
fi
printf '%s\n' "$local_dir/.jitsi-meet-cfg"
}
local_jitsi_set_env() {
local key="$1"
local value="$2"
local file="$3"
if grep -qE "^#?${key}=" "$file"; then
perl -0pi -e "s|^#?${key}=.*|${key}=${value}|m" "$file"
else
printf '%s=%s\n' "$key" "$value" >> "$file"
fi
}