new service: input-leap[cs], replaces barrier[cs]

This commit is contained in:
crater2150 2025-08-04 21:40:17 +02:00
parent a246ab843d
commit ef0d548bf1
9 changed files with 14 additions and 11 deletions

View file

@ -1,15 +0,0 @@
#!/bin/zsh
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config}
SERVER_FILE=${XDG_CONFIG_HOME}/barrier/server
if [[ ! -e $SERVER_FILE ]] then
<<-ERROR
Service requires configuration!
Create \`${SERVER_FILE}\` containing the target server name
ERROR
exit 1
fi
source ${0:A:h:h}/import-env.zsh
import-env awesome || exit 1
exec 2>&1
exec barrierc --no-daemon $(<${SERVER_FILE})