Commit Graph

119 Commits

Author SHA1 Message Date
Quan Guo 4d08fb47e5 Updated README.md 2015-09-27 00:09:27 +02:00
Quan Guo 2d192e266e Perfecting the functions of secondary functions
Zooming client and killing clients are making more sense.
After you zoom a client, the position of hintbox will be updated.
And the hintbox on other clients are hided.

After kill a client, the position of other hintbox are updated
according to the rearrangement of the rest of clients.
2015-09-26 23:55:16 +02:00
Quan Guo f97f858bd7 Use pcall() for better error handling
It suppose to clean the mess if revelaton.expose() function fails.
2015-09-26 19:44:20 +02:00
Quan Guo 48093919be Test the the pcall 2015-09-26 03:38:54 +02:00
Quan Guo 399d7ddf64 Merge branch 'master' into develop 2015-09-26 01:46:14 +02:00
Quan Guo 2f6858d946 Update master branch to work with all verions of awesome WM 2015-09-25 02:58:34 +02:00
Quan Guo 6535c9c987 Fixed the wrong format in README.md 2015-09-22 11:51:00 +02:00
Quan Guo 2087a90eba Update the README.md 2015-09-22 11:43:16 +02:00
Quan Guo 77318111e3 Merge branch 'master' into develop
merge Pull request from github to develop
branch, because the codes are based on
github version of awesome WM.
2015-09-22 11:08:39 +02:00
Quan Guo 6eb10b3bfb Repalce gears.timer.delayed_call for now
It is not in released version
2015-09-21 23:09:56 +02:00
Quan Guo c862f6def7 Merge pull request #13 from actionless/fix-master-branch
Fix master branch
2015-08-22 20:08:30 +02:00
actionless 9a020ce776 refactor: minor fixes 2015-08-21 02:24:01 +02:00
actionless fe9ee01268 use dpi value for size 2015-08-21 02:09:21 +02:00
actionless 990a8df5d2 fix issues with current awesome-wm master branch 2015-08-21 02:00:40 +02:00
Quan Guo bc30e5573c Add block timer
Due to delayed re-calcuation of geometry of clients, A timer
was added to ensure that the place of hintbox was properly placed.
2015-07-25 21:42:12 +02:00
Quan Guo cf5f4eef69 Merge pull request #10 from blueyed/fix-whitespace
minor: remove trailing whitespace
2015-04-21 23:24:14 +02:00
Quan Guo fe77a77d62 Merge pull request #9 from blueyed/use-client-jumpto
Use `awful.client.jumpto` in `selectfn`
2015-04-21 23:22:31 +02:00
Quan Guo c2061cc699 Merge pull request #8 from blueyed/fix-too-many-clients
Fix running out of entries in `charorder`
2015-04-21 23:21:23 +02:00
Daniel Hahler 0779215ae9 Fix running out of entries in `charorder`
When there are more clients than entries in `charorder`, the following
error occurs:

    W: awesome: luaA_dofunction:77: error while running function
    stack traceback:
            /home/user/.config/awesome/revelation/init.lua:166: in function </home/user/.config/awesome/revelation/init.lua:124>
            (...tail calls...)
            /usr/local/share/awesome/lib/awful/key.lua:43: in function </usr/local/share/awesome/lib/awful/key.lua:43>
    error: /home/user/.config/awesome/revelation/init.lua:166: attempt to index field '?' (a nil value)

This fixes it by skipping setup of `hintindex` in this case.

Fixes https://github.com/guotsuan/awesome-revelation/issues/4.
2015-04-21 02:43:48 +02:00
Daniel Hahler 1dcb5576fe minor: remove trailing whitespace 2015-04-21 02:09:37 +02:00
Daniel Hahler 79164e1f92 Use `awful.client.jumpto` in `selectfn`
This makes the code easier and less likely to cause issues in the
future.
2015-04-21 02:07:23 +02:00
Quan Guo 71f8972809 Merge branch 'master' into develop
Conflicts:
	init.lua
2014-03-02 22:33:23 +01:00
Quan Guo f8363cbc74 Add the function of pressing Shift + hint key
Now, in revelation, press Shift + hint key
to maximise the selected client.
Press Shift + any key again to undo
the maximisation.
2014-03-02 22:13:59 +01:00
Quan Guo e7576ce1f5 Merge pull request #2 from blueyed/doc-fixes
Doc fixes,
Thank you very much @blueyed  for all the fixes.
2014-03-02 17:38:56 +01:00
Daniel Hahler 64a69ddd80 doc: grammar and typo fixes for the install section 2014-03-02 15:13:57 +01:00
Daniel Hahler 421e601791 doc: fix install instructions for `git clone …`
The instructions assume the module to be installed in `revelation`, but
not `awesome-revelation`.
Also, you can omit the `.git` suffix when cloning from Github.
2014-03-02 15:10:47 +01:00
Quan Guo 1d705ce247 update the README.md to reflect the improvment 2014-02-19 20:14:49 +01:00
Quan Guo c5069cf0dd fix the typo in revelation.init(arg)
arg -> args
2014-02-19 20:11:03 +01:00
Quan Guo c6685a5369 Merge branch 'develop'
1) be able to handle speical clients(float, maxium, etc.)

Conflicts:
	init.lua
2014-02-19 20:06:15 +01:00
Quan Guo dfcdd4c08b change the restore function.
If you select the minimized client. revelation will restore it
and then focus on it
2014-01-21 20:09:18 +01:00
Quan Guo 22133471ed fix tow bugs. 1) function revelation.init() ould be revelation.init(args)
2) in init() args.match.exact should be args.match.any
Thanks @henfiber
2014-01-10 16:04:34 +01:00
Quan Guo f1701d4fbd fixed two bugs: 1)function revelation.init() -> function
revelation.init(arg)
               2) args.match.exact should be args.match.any in init()
2014-01-10 16:01:18 +01:00
Quan Guo 1e38d9e817 Add codes to handle special clines(maximized, ontopped,
fullscreened, etc)
2014-01-04 02:57:08 +01:00
Quan Guo 17f62a207d Merge branch 'develop'
Conflicts:
	init.lua
2014-01-02 23:31:38 +01:00
Quan Guo f2af594de0 Update the README.md 2014-01-02 22:35:30 +01:00
Quan Guo c9e1d2bad7 The bug of incorrect layout should be fixed 2014-01-02 04:21:20 +01:00
Quan Guo dc8066861a try to fix the wrong layout bug 2013-12-31 22:55:59 +01:00
Quan Guo a381532c08 fixed the bug that the layout of the restored tags was wrongly set to be
float
2013-12-31 22:27:03 +01:00
Quan Guo e3902f380e fix the bug of function expose() with no parameters 2013-12-31 01:43:39 +01:00
Quan Guo 1df7333a21 update the README 2013-12-30 23:52:56 +01:00
Quan Guo 77ef3e3ee7 a. forece to disable all other tags when in the revelation tag
b. correct a few errors to make sure the letter boxes dispear as we wish
2013-12-30 23:41:46 +01:00
Quan Guo 8dd232f1fe update the the delivery of the parameters 2013-12-30 22:50:54 +01:00
Quan Guo f8992a38ba add a parameter to allow only collect clients from current tag 2013-12-30 22:42:52 +01:00
Quan Guo b19d5b5201 correct the minor bug in selectfn() 2013-09-08 16:21:57 +01:00
Quan Guo d7268f3c7b update README.md 2013-09-03 01:55:11 +01:00
Quan Guo 7ba32f17ad update the document and screenshot 2013-09-03 01:47:32 +01:00
Quan Guo a674b68f0c add screenshot 2013-09-01 11:48:34 +01:00
Quan Guo 602f599576 add screenshot 2013-08-31 23:34:40 +01:00
Quan Guo 834c29ce38 correct readme.md 2013-08-31 23:23:00 +01:00
Quan Guo 89615bdeac update the documents 2013-08-31 23:21:34 +01:00