mirror of
https://github.com/0intro/wmii
synced 2024-11-30 01:23:12 +03:00
12 lines
198 B
Bash
12 lines
198 B
Bash
#!/bin/sh
|
|
export IXP_ADDRESS="$WMII_ADDRESS"
|
|
if [ "$1" = -v ]; then
|
|
flag=-v; shift
|
|
fi
|
|
if [ "$1" = xwrite ]; then
|
|
file="$2"; shift 2
|
|
echo "$@" | ixpc $flag write $file
|
|
else
|
|
exec ixpc $flag $@
|
|
fi
|