File: kmode

package info (click to toggle)
wmii2 2.5.2-11
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 608 kB
  • ctags: 925
  • sloc: ansic: 9,195; makefile: 184; sh: 11
file content (11 lines) | stat: -rw-r--r-- 328 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!9PREFIX/bin/rc
# activate shortcuts of the given mode

wmiir write /keys/grab-keyb 0
wmiir write /keys/lookup /mode/$1

plab_cmd=`{wmiir read /wm/event/page-update | sed -e 's/\\//'}
if (! ~ $#plab_cmd 0) eval $"plab_cmd

#wmiir write /bar/$plab/data \
#`{wmiir read /bar/$plab/data | sed -e 's/.$/'^`{echo $2 | cut -b1}^'/'}