]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blobdiff - Linux/e_changefocus_sh.shtml~
Verwijder verouderde bestanden.
[www.vanrenterghem.biz.git] / Linux / e_changefocus_sh.shtml~
diff --git a/Linux/e_changefocus_sh.shtml~ b/Linux/e_changefocus_sh.shtml~
deleted file mode 100644 (file)
index 4247b3a..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<HTML>
-<HEAD>
-   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15">
-   <META NAME="Author" CONTENT="frederik.vanrenterghem@chello.be (Frederik Vanrenterghem)">
-   <META NAME="Description" CONTENT="Personal homepage - Pictures">
-   <TITLE>frederik.gotdns.org:1976 - e_changefocus.sh</TITLE>
-</HEAD>
-<BODY>
-<!--#include virtual='/header.shtml' -->
-<H1>e_changefocus.sh</h1>
-<P>
-<B>Purpose:</B> This script was written to be bound to the extra keys on my Logitech Cordless Desktop Deluxe wireless keyboard. This way, I can click on f.i. the E-Mail button to either launch my mail program, or transfer the application to the current desktop.<BR>
-</P>
-<P>
-<B>Requirements:</B> <a href="http://www.enlightenment.org/main/pages.html">Enlightenment window manager</A>
-</P>
-<P>
-<B>Script: </B>
-<pre>
-<font color="0000ff"><strong>#!/bin/bash</strong></font>
-
-<font color="#444444"># This script gets the current desktop and area</font>
-<font color="#444444"># and checks if the prog $1 (identifier) is running</font>
-<font color="#444444"># and moves a running $1 to current desktop/area
-# or starts $2 (command)</font>
-<font color="#444444"># e.g. $1 = Evolution and $2 = evolution
-</font>
-eesh -ewait <font color="#008000">&quot;goto_desktop ?&quot;</font>| \
-cut -f2 -d: |\
-while read desktop; do
-       eesh -ewait <font color="#008000">&quot;goto_area ?&quot;</font>| \
-       cut -f2 -d: |\
-       while read area; do
-               if eesh -ewait <font color="#008000">&quot;window_list&quot;</font> | grep <font color="#2040a0">$1</font> 
-               then
-                       eesh -ewait <font color="#008000">&quot;window_list&quot;</font> | \
-                        grep <font color="#2040a0">$1</font>| \
-                       cut -f1 -d: |\
-                       while read win_id; do 
-                               eesh -e <font color="#008000">&quot;win_op ${win_id} move 80 0&quot;</font>; 
-                               eesh -e <font color="#008000">&quot;win_op ${win_id} desk ${desktop}&quot;</font>;
-                               eesh -e <font color="#008000">&quot;win_op ${win_id} area ${area}&quot;</font>;
-                       done 
-               else 
-                       <font color="#2040a0">$2</font> &amp;
-               fi
-       done
-done
-</pre>
-
-Syntax highlighted by <a href="http://www.palfrader.org/code2html">Code2HTML</a>, v. 0.9.1
-</P>
-<!--#include virtual='/footer.shtml' -->
-</HTML>
-</BODY>