diff --git a/barriers/run b/barriers/run deleted file mode 100755 index 0a37a48..0000000 --- a/barriers/run +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/zsh -source ${0:A:h:h}/import-env.zsh -import-env awesome || exit 1 - -exec 2>&1 -exec barriers --no-daemon -c ${XDG_CONFIG_HOME:-$HOME/.config}/Debauchee/home.conf diff --git a/barrierc/log/run b/input-leapc/log/run similarity index 100% rename from barrierc/log/run rename to input-leapc/log/run diff --git a/input-leapc/log/supervise b/input-leapc/log/supervise new file mode 120000 index 0000000..8ea656b --- /dev/null +++ b/input-leapc/log/supervise @@ -0,0 +1 @@ +/run/user/1000/supervise.input-leapc-log \ No newline at end of file diff --git a/barrierc/run b/input-leapc/run similarity index 67% rename from barrierc/run rename to input-leapc/run index 786ed39..c6f44b5 100755 --- a/barrierc/run +++ b/input-leapc/run @@ -1,6 +1,9 @@ #!/bin/zsh +source ${0:a:h:h}/import-env.zsh +import-env awesome || exit 1 + export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config} -SERVER_FILE=${XDG_CONFIG_HOME}/barrier/server +SERVER_FILE=${XDG_CONFIG_HOME}/InputLeap/server if [[ ! -e $SERVER_FILE ]] then <<-ERROR Service requires configuration! @@ -8,8 +11,5 @@ if [[ ! -e $SERVER_FILE ]] then 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}) +exec input-leapc -f $(<${SERVER_FILE}) diff --git a/input-leapc/supervise b/input-leapc/supervise new file mode 120000 index 0000000..309d150 --- /dev/null +++ b/input-leapc/supervise @@ -0,0 +1 @@ +/run/user/1000/supervise.input-leapc \ No newline at end of file diff --git a/barriers/log/run b/input-leaps/log/run similarity index 100% rename from barriers/log/run rename to input-leaps/log/run diff --git a/input-leaps/log/supervise b/input-leaps/log/supervise new file mode 120000 index 0000000..d934bfb --- /dev/null +++ b/input-leaps/log/supervise @@ -0,0 +1 @@ +/run/user/1000/supervise.input-leaps-log \ No newline at end of file diff --git a/input-leaps/run b/input-leaps/run new file mode 100755 index 0000000..7c9f7f1 --- /dev/null +++ b/input-leaps/run @@ -0,0 +1,5 @@ +#!/bin/zsh +source ${0:a:h:h}/import-env.zsh +import-env awesome || exit 1 +exec 2>&1 +exec input-leaps -f -c ${XDG_CONFIG_HOME:-$HOME/.config}/InputLeap/home.conf diff --git a/input-leaps/supervise b/input-leaps/supervise new file mode 120000 index 0000000..c1618c1 --- /dev/null +++ b/input-leaps/supervise @@ -0,0 +1 @@ +/run/user/1000/supervise.input-leaps \ No newline at end of file