Davide Anchisi wrote:
Hi,I have been using wmii since a couple of weeks, and I like it very much. I have a couple of questions and some suggestions to improve wmii. - Is it possible to move to next view using arrows?
Yes, I am using John Galt's cycle view using arrows instead.fn next_tag
fn next_tag {
awk -v curtag'='`{wmiir read /tag/sel/ctl | head -1} '
NR==1 {first = $0}
$0==curtag { if(getline) print $0; else print first;
exit }'
}
fn Key-$MODKEY-Right {
wmiir xwrite /ctl view `{ wi_tags | next_tag}
}
fn Key-$MODKEY-Left {
wmiir xwrite /ctl view `{ wi_tags | tail -r | next_tag}
}
# up & down
fn Key-$MODKEY-Up {
wmiir xwrite /tag/sel/ctl select up
}
fn Key-$MODKEY-Down {
wmiir xwrite /tag/sel/ctl select down
}
See you!
--
Ruben Gonzalez Arnau
GPG key: 0x08AF5CD4 http://www.websbarcelona.com/ruben/0x08AF5CD4.asc
signature.asc
Description: OpenPGP digital signature
