summaryrefslogtreecommitdiffstats
path: root/packages/ion/ion3/205_ion-lock.diff
blob: bbd25ddb496f23b695dc0a5b69cf688570967894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
--- ion-3ds-20041104.orig/mod_dock/README.dock	2003-12-23 21:13:07.000000000 +0000
+++ ion-3ds-20041104/mod_dock/README.dock	2004-12-05 15:52:30.000000000 +0000
@@ -7,19 +7,18 @@
 
 INTRODUCTION
 
-	This module provides a dock for the Ion window manager. It is designed
-	to work with ion-devel-20031211.
+	This module provides a dock for the Ion window manager.
 
 	Features:
 	- supports most dockapps
 	- configurable layout
 	- configurable dockapp order
 	- supports shaped dockapps
-	- uses ion-devel's drawing engine
+	- uses ion's drawing engine
 
 DEPENDENCIES
 
-	ion-devel-20031211
+	ion3
 
 INSTALLATION
 
@@ -32,19 +31,20 @@
 	3. Either run (as root)
 		# make install
 	   or (as yourself),
-		$ mkdir -p ~/.ion2/lib
-		$ cp .libs/dock.* ~/.ion2/lib
+		$ mkdir -p ~/.ion3/lib
+		$ cp .libs/dock.* ~/.ion3/lib
 
-	4. Copy the configuration files to your ~/.ion2 directory:
-		$ cp dock.lua dock-draw.lua ~/.ion2 
+
+	4. Copy the configuration files to your ~/.ion3 directory:
+		$ cp dock.lua dock-draw.lua ~/.ion3
 	   Edit dock.lua and dock-draw.lua to suit your preferences.
 
-	5. Add load_module("dock") to ~/.ion2/ion.lua.
+	5. Add load_module("dock") to ~/.ion3/ion.lua.
 
-	6. Add include("dock-draw.lua") near the end of ~/.ion2/draw.lua,
+	6. Add include("dock-draw.lua") near the end of ~/.ion3/draw.lua,
 	   before gr_refresh().
 
-	7. (Re)start ion-devel.
+	7. (Re)start ion3.
 
 CONFIGURATION
 
@@ -53,7 +53,7 @@
 KNOWN BUGS
 
 	Not all dockapps dock. This is because dockapps use a variety of methods
-	to signal that they are dockapps and ion-devel-dock doesn't yet
+	to signal that they are dockapps and the dock doesn't yet
 	recognise all of them. If your favourite dockapp does not work then
 	please inform the author (email address at top of file).
 
@@ -62,13 +62,13 @@
 	- gkrellm2 can have the wrong shape if it is started after the dock
 	  module is loaded.
 
-	- wmxmms needs a winprop{...}. See the example dock.lua. ion-devel
+	- wmxmms needs a winprop{...}. See the example dock.lua. Ion
 	  complains: Client window "wmxmms" has broken transient_for hint.
 	  ("Extended WM hints" multi-parent brain damage?).
 
 IMPLEMENTATION NOTES
 
-	If you would like to help improve ion-devel-dock then the following
+	If you would like to help improve the dock then the following
 	notes might be useful.
 
 	You should use folding in your editor when you edit/view the source
@@ -76,8 +76,8 @@
 	folds. VIM and Emacs both support folding.
 
 	Dockapps use a variety of methods to signal to the window manager that
-	they are a dockapp. ion-devel automatically detects some (see
-	manage_clientwin() in ioncore/clientwin.c), and ion-devel-dock detects
+	they are a dockapp. Ion automatically detects some (see
+	manage_clientwin() in ioncore/clientwin.c), and the dock detects
 	some others (see dock_clientwin_is_dockapp() in dock.c).  Adding more
 	dockapp types will require editing these functions and possibly writing
 	type-specific management code.
@@ -94,7 +94,7 @@
 	sequence of events is as follows:
 	1. gkrellm2 starts and gets added to the dock with is initial geom.
 	2. gkrellm2 grows as it loads plugins.
-	3. ion-devel-dock allocates more space to gkrellm2 and requests
+	3. The dock allocates more space to gkrellm2 and requests
 	   gkrellm2's new shape, but gkrellm2 reports its old shape.
 	4. Further requests to gkrellm2 return is new (actual) shape, but by
 	    now it's too late...
--- ion-3ds-20041104.orig/utils/Makefile	2004-08-02 03:31:27.000000000 +0000
+++ ion-3ds-20041104/utils/Makefile	2004-12-05 15:55:19.000000000 +0000
@@ -12,7 +12,7 @@
 INSTALL_SUBDIRS=$(SUBDIRS)
 
 SHELLSCRIPTS = ion-edit ion-man ion-runinxterm ion-ssh ion-view \
-	       ion-completeman
+	       ion-completeman ion-lock
 
 TARGETS=ion-ssh ion-man ion-completeman
 
--- ion-3ds-20041104.orig/utils/ion-lock	1970-01-01 00:00:00.000000000 +0000
+++ ion-3ds-20041104/utils/ion-lock	2004-12-05 15:55:55.000000000 +0000
@@ -0,0 +1,6 @@
+#!/bin/sh
+if xscreensaver-command -version >/dev/null 2>&1; then
+	exec xscreensaver-command -lock
+else
+	exec xlock
+fi