new service: input-leap[cs], replaces barrier[cs]
This commit is contained in:
parent
a246ab843d
commit
ef0d548bf1
9 changed files with 14 additions and 11 deletions
|
@ -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
|
1
input-leapc/log/supervise
Symbolic link
1
input-leapc/log/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/user/1000/supervise.input-leapc-log
|
|
@ -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})
|
1
input-leapc/supervise
Symbolic link
1
input-leapc/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/user/1000/supervise.input-leapc
|
1
input-leaps/log/supervise
Symbolic link
1
input-leaps/log/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/user/1000/supervise.input-leaps-log
|
5
input-leaps/run
Executable file
5
input-leaps/run
Executable file
|
@ -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
|
1
input-leaps/supervise
Symbolic link
1
input-leaps/supervise
Symbolic link
|
@ -0,0 +1 @@
|
|||
/run/user/1000/supervise.input-leaps
|
Loading…
Add table
Add a link
Reference in a new issue