# See the License for the specific language governing permissions and
# limitations under the License.
+case $HOSTNAME in
+ x2|tp) type=laptop ;;
+ treetowl*|iank-dev|frodo) type=kinesis ;;
+esac
+
+
+
+case $1 in
+ l) type=laptop ;;
+ k) type=kinesis ;;
+esac
+
#set -x
mi() {
xinput --get-feedbacks "$1" | grep "threshold"
fi
}
-case $HOSTNAME in
- tp|x2)
- # original saved with: xkbcomp $DISPLAY /a/c/stretch-11-2016.xkb
- xkbcomp /a/c/x2.xkb $DISPLAY
- ;;
- treetowl*|iank-dev|frodo)
+case $type in
+ laptop)
+ # original saved with: xkbcomp $DISPLAY /a/c/stretch-11-2016.xkb
+ xkbcomp /a/c/x2.xkb $DISPLAY
+ xkbset -m # remove mouse keys
+
+ ;;
+ kinesis)
# todo, differentiate for work pc
#/a/bin/radl
if [[ -z $DISPLAY ]]; then
fi
. /a/bin/bash_unpublished/duplicity-gpg-agent-setup
;;
- frodo*)
- ;;
esac
# for desktop and htpc