File: kmode

package info (click to toggle)
wmii2 2.5.2-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 592 kB
  • ctags: 927
  • sloc: ansic: 9,195; makefile: 228; sh: 136
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}^'/'}