mirror of
https://github.com/0intro/wmii
synced 2024-11-29 17:13:11 +03:00
12 lines
321 B
Bash
12 lines
321 B
Bash
#!9PREFIX/bin/rc
|
|
# activate shortcuts of the given mode
|
|
|
|
wmir write /keys/grabkeyb 0
|
|
wmir write /keys/lookup /mode/$1
|
|
|
|
plab_cmd=`{wmir read /wm/event/pageupdate | sed -e 's/\\//'}
|
|
if (! ~ $#plab_cmd 0) eval $"plab_cmd
|
|
|
|
#wmir write /bar/$plab/data \
|
|
#`{wmir read /bar/$plab/data | sed -e 's/.$/'^`{echo $2 | cut -b1}^'/'}
|