mirror of
https://github.com/0intro/wmii
synced 2024-11-29 17:13:11 +03:00
stylistic change
This commit is contained in:
parent
a3ce9b00fa
commit
8821624a06
3
rc/keys
3
rc/keys
@ -8,6 +8,8 @@ if(test -r $PIDFILE) {
|
|||||||
}
|
}
|
||||||
echo $pid >$PIDFILE
|
echo $pid >$PIDFILE
|
||||||
|
|
||||||
|
fn xwrite { echo -n $2 | wmiir write $1 }
|
||||||
|
|
||||||
fn sigint {
|
fn sigint {
|
||||||
if(test -f $PIDFILE && ~ `{cat $PIDFILE} $pid)
|
if(test -f $PIDFILE && ~ `{cat $PIDFILE} $pid)
|
||||||
rm -f $PIDFILE
|
rm -f $PIDFILE
|
||||||
@ -17,7 +19,6 @@ fn sigint {
|
|||||||
}
|
}
|
||||||
|
|
||||||
wmiikeys -a $ADDRESS &
|
wmiikeys -a $ADDRESS &
|
||||||
fn xwrite { echo -n $2 | wmiir write $1 }
|
|
||||||
xwrite /ctl 'mount '^$ADDRESS^' /keys'
|
xwrite /ctl 'mount '^$ADDRESS^' /keys'
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user