[hackers] [wmii] Added Fullscreen support to wmiirc.

From: sqweek <sqweek_AT_gmail.com>
Date: Fri Nov 16 14:57:39 2007

changeset: 2227:6071068bd217
tag: tip
user: sqweek <sqweek_AT_gmail.com>
date: Fri Nov 16 22:46:31 2007 +0900
summary: Added Fullscreen support to wmiirc.

diff -r 67488b484897 -r 6071068bd217 rc/wmiirc.sh
--- a/rc/wmiirc.sh Wed Nov 14 10:59:20 2007 +0900
+++ b/rc/wmiirc.sh Fri Nov 16 22:46:31 2007 +0900
@@ -89,10 +89,12 @@ eventstuff() {
                 client=$1; button=$2
                 case "$button" in
                 3)
- do=$(eval $WMII_9MENU -initial "${menulast:-SomeRandomName}" Nop Delete)
+ do=$(eval $WMII_9MENU -initial "${menulast:-SomeRandomName}" Nop Delete Fullscreen)
                         case "$do" in
                         Delete)
- wmiir xwrite /client/$client/ctl kill
+ wmiir xwrite /client/$client/ctl kill;;
+ Fullscreen)
+ wmiir xwrite /client/$client/ctl Fullscreen on;;
                         esac
                         menulast=${do:-"$menulast"}
                 esac
@@ -124,6 +126,8 @@ eventstuff() {
                 eval $WMII_TERM &
         Key $MODKEY-Shift-space
                 wmiir xwrite /tag/sel/ctl send sel toggle
+ Key $MODKEY-f
+ wmiir xwrite /client/sel/ctl Fullscreen toggle
         Key $MODKEY-Shift-c
                 wmiir xwrite /client/sel/ctl kill
         Key $MODKEY-Shift-t
Received on Fri Nov 16 2007 - 14:57:39 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:58:48 UTC