#!/bin/sh
if [ "$1" = -h ]; then
   echo "Locks or unlocks the selected frame if the argument is 0 or 1."
   exit
fi
. "$WMII_RCCONF"
if [ $# -eq 0 ]; then
    $WRITE /wm/page/sel/mode/sel/locked "1"
else
    $WRITE /wm/page/sel/mode/sel/locked "$1"
fi
