uh-wm 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +48 -4
  3. data/lib/uh/wm/version.rb +1 -1
  4. metadata +26 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e40ae2e6f815683ba49a0cf70e0a2832b15198a
4
- data.tar.gz: 2f2c5eabef44d6acfa2dbb4901d81fea647b121f
3
+ metadata.gz: 302994d7e8174ab44aff96272ac486ee6d3fcc53
4
+ data.tar.gz: a1f5ac01ade9effcfa4ae1a875832f81bcdc96ca
5
5
  SHA512:
6
- metadata.gz: d423c12bb61f6fce43f7c2fb28b8d3a823197abb719dbe02380706dfcf4755b7e190b0fe8e8d72a683e8e883e9659272eae7d43244abe1ab3b0ef208af9ba19a
7
- data.tar.gz: 0a21755650d31e190d9df030866a2822d9fe347dc4ed7f94b90834f5312331135fb26151ab3b4a5df9014fd1e8d7debee1cd6c468392734e174aa025c877350a
6
+ metadata.gz: facc3a0550904db4f004883e87d889b54c4681ac1deda71d5a9d9f675abbda8e973f38634490f26bd884780ab9a897a949af157e59ac1787682fb8219b80948a
7
+ data.tar.gz: 6233f25d58e98557e757781038f51cb5d14582d7a005bcaee94dfe1eaa732ce715332866e377c14ec3cb0aa053b85d88ae4649eef101378c2a0713041474adfc
data/README.md CHANGED
@@ -124,6 +124,50 @@ available in the [`ActionsHandler` class documentation][actions_doc]
124
124
  [actions_doc]: http://www.rubydoc.info/gems/uh-wm/Uh/WM/ActionsHandler
125
125
 
126
126
 
127
+ Hacking uhwm
128
+ ------------
129
+
130
+ ### Installation with bundler
131
+
132
+ ``` shell
133
+ git clone git://github.com/tjouan/uh-wm # clone repository from github mirror
134
+ bundle install # install dependencies with bundler
135
+ ```
136
+
137
+ ### Running the test suite
138
+
139
+ ``` shell
140
+ rake # Run all test suites
141
+ rake features # Run user acceptance test suite
142
+ cucumber # Run user acceptance test suite
143
+ rake spec # Run unit test suite
144
+ rspec # Run unit test suite
145
+ ```
146
+
147
+ Prefix the commands as `bundle exec COMMAND` to use bundler.
148
+
149
+ ### Running uhwm within a nested X session
150
+
151
+ For convenience, the `run` rake task is provided to execute uhwm in
152
+ a new X session using Xephyr as the X server. The session is
153
+ initialized with the `startx` program, the task will import the keymap
154
+ from your current X session to the new one and change the background
155
+ color to one that is neither used by uhwm nor commonly used by other.
156
+
157
+ ``` shell
158
+ # Run uhwm (with default argument `-d', set by the task internally)
159
+ rake run
160
+ # Run uhwm with no argument
161
+ rake run --
162
+ # Run uhwm with `-v' argument
163
+ rake run -- -v
164
+ # Setup Xephyr with two screens
165
+ rake run UHWM_XINERAMA=yes
166
+ # Combine custom env and custom uhwm arguments
167
+ rake run UHWM_XINERAMA=yes -- -v
168
+ ```
169
+
170
+
127
171
  Extensive configuration example
128
172
  -------------------------------
129
173
 
@@ -298,23 +342,23 @@ BUGS
298
342
  FAQ
299
343
  ---
300
344
 
301
- #### uhwm is stealing focus, how can I disable it?
345
+ _uhwm is stealing focus, how can I avoid this behavior?_
302
346
 
303
347
  You can't (yet). The default layout will be modified to accept an
304
348
  `autofocus: false` option in a future release.
305
349
 
306
- #### What are the default key bindings?
350
+ _What are the default key bindings?_
307
351
 
308
352
  Juste one: `mod+shift+q` is bound to the `quit` action.
309
353
 
310
- #### How can I implement my own layout?
354
+ _How can I implement my own layout?_
311
355
 
312
356
  A layout is a simple ruby object responding to a set of messages:
313
357
  `register`, `current_client`, `suggest_geo`, `<<`, `remove`, `update`
314
358
  and `expose`. No documentation is available yet, so read the source
315
359
  code or the cucumber scenarios in `features/layout/protocol.feature`.
316
360
 
317
- #### Can I change the default behavior ignoring current view selection?
361
+ _Can I change the default behavior ignoring current view selection?_
318
362
 
319
363
  Yes, just test for this condition in the key binding code. For
320
364
  example the following code will select the last historized view (if
data/lib/uh/wm/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Uh
2
2
  module WM
3
- VERSION = '0.0.11'
3
+ VERSION = '0.0.12'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uh-wm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thibault Jouan
@@ -122,7 +122,30 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '3.2'
125
- description: uh-wm
125
+ description: |2
126
+ uhwm is a minimalistic tiling and stacking window manager for X. It
127
+ shares some similarities with dwm and wmii, but is written in ruby so
128
+ you can configure and extend features directly with ruby code.
129
+
130
+ The layout strategy is interchangeable, the default one being the
131
+ `uh-layout` ruby gem. A layout is a simple ruby object responding to
132
+ specific messages, so it's easy to write your own layout.
133
+
134
+ Main features:
135
+
136
+ * Xinerama support;
137
+ * different adapters for event handling: blocking, multiplexing
138
+ with `select()` or `kqueue()`;
139
+ * configuration with a run control file;
140
+ * key bindings with user defined code as callback;
141
+ * configurable modifier key;
142
+ * user-defined layout strategies;
143
+ * external program execution;
144
+ * no re-parenting (therefore, no window decoration either);
145
+ * no grabbing of the modifier key alone;
146
+ * no mouse event handling;
147
+ * no EWMH support;
148
+ * very limited ICCCM support.
126
149
  email: tj@a13.fr
127
150
  executables:
128
151
  - uhwm
@@ -175,6 +198,6 @@ rubyforge_project:
175
198
  rubygems_version: 2.4.5
176
199
  signing_key:
177
200
  specification_version: 4
178
- summary: minimalistic tiling and stacking window manager for X
201
+ summary: minimalistic tiling and stacking X window manager
179
202
  test_files: []
180
203
  has_rdoc: