[hackers] [wmii] Add ?Kill? to client right-click menu || Kris Maglione

From: <hg_AT_suckless.org>
Date: Wed, 22 Oct 2008 16:50:08 +0000 (UTC)

changeset: 2401:d5536ad05b53
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Wed Oct 22 12:50:06 2008 -0400
files: rc/rc.wmii.rc rc/wmiirc.sh
description:
Add ?Kill? to client right-click menu

diff -r fa1019c1090e -r d5536ad05b53 rc/rc.wmii.rc
--- a/rc/rc.wmii.rc Tue Oct 21 19:17:16 2008 -0400
+++ b/rc/rc.wmii.rc Wed Oct 22 12:50:06 2008 -0400
@@ -106,6 +106,8 @@
 
 fn ClientMenu-3-Delete {
         wmiir xwrite /client/$1/ctl kill}
+fn ClientMenu-3-Kill {
+ wmiir xwrite /client/$1/ctl slay}
 fn ClientMenu-3-Fullscreen {
         wmiir xwrite /client/$1/ctl Fullscreen on}
 fn Event-ClientMouseDown {
diff -r fa1019c1090e -r d5536ad05b53 rc/wmiirc.sh
--- a/rc/wmiirc.sh Tue Oct 21 19:17:16 2008 -0400
+++ b/rc/wmiirc.sh Wed Oct 22 12:50:06 2008 -0400
@@ -89,7 +89,9 @@
                 xpid = $!
         Menu Client-3-Delete
                 wmiir xwrite /client/$1/ctl kill
- Menu Client-3-Fullscreen {
+ Menu Client-3-Kill
+ wmiir xwrite /client/$1/ctl slay
+ Menu Client-3-Fullscreen
                 wmiir xwrite /client/$1/ctl Fullscreen on
         Event ClientMouseDown
                 wi_fnmenu Client $2 $1 &
Received on Wed Oct 22 2008 - 16:50:08 UTC

This archive was generated by hypermail 2.2.0 : Wed Oct 22 2008 - 17:00:05 UTC