Commit Graph

66 Commits

Author SHA1 Message Date
Quan Guo fb79d264d4 Try to fix issue #27 again 2016-07-13 20:30:08 +02:00
Quan Guo 4e52b080c5 Fix the bug: issue #27 2016-07-13 16:38:03 +02:00
Quan Guo 79525e92d0 Try to fix the bug in compatibility 2016-05-18 19:19:06 +02:00
Quan Guo 3fa219fc27 Try to maintain backward-compatibility 2016-05-09 21:16:26 +02:00
Quan Guo 715c3215d7 Fix deprecated functions by introducing new APIs 2016-05-09 00:28:38 +02:00
actionless d5221ece30 feat: expose theme 2016-03-08 16:36:37 +01:00
Quan Guo 2d6e1c3870 Fix issues #21 2015-12-31 11:35:39 +01:00
Quan Guo 2ed94b0d8f remove old commented codes 2015-11-16 18:45:15 +01:00
Rastislav Barlik 02a7f58e5c code cleanup 2015-11-16 15:38:02 +00:00
Daniel Hahler 022362f6ab Do not set module settings from function args
It seems more sensible to use the module settings as default, but not
set them to the given values.
2015-11-12 23:49:39 +01:00
Quan Guo 31ce3bab5e Merge pull request #16 from barlik/patch-1
conflict resolution
2015-11-06 10:23:17 +01:00
Rastislav Barlik 83310705a9 commented debug information 2015-11-06 09:18:19 +00:00
Rastislav Barlik 516bd2ee85 conflict resolution 2015-11-06 09:15:02 +00:00
Quan Guo eeb0c7bd5d Fixed the missing debuginfo and confilict markers 2015-11-06 08:08:26 +01:00
Quan Guo e65107e006 Merge branch 'develop' 2015-11-05 20:42:10 +01:00
Rastislav Barlik cd75d6ec20 Added an option to change character ordering for selecting clients.
It could be useful for users with different keyboard layouts e.g dvorak.
To change to different settings, use:

     revelation.init(charorder = "htngcrlfdbmueoayikj.,';q1234567890")
2015-11-05 14:47:46 +00:00
Quan Guo 6c73e7c169 Do not collect invisible clients 2015-10-17 10:31:58 +02:00
Quan Guo 0cb9085642 Fix a bug. 2015-10-09 23:30:42 +02:00
Quan Guo 87f9cb39e9 Fix the another lazy call related problem 2015-10-09 23:22:34 +02:00
Quan Guo feabe58bd8 Fix the bug that curr_tag_only works abnormally
also fix the broken filter functions.
2015-10-08 14:01:27 +02:00
Quan Guo 97991b12b5 Fixed a bug: missing a comma 2015-09-30 00:25:45 +02:00
Quan Guo 3002702f95 Gave the revelation.fg a default value 2015-09-29 00:59:10 +02:00
Quan Guo ace141b2ec Fixed the bug in zoomed mode 2015-09-29 00:57:49 +02:00
Quan Guo cee025c8a2 Add default valule to revelation.fg 2015-09-28 16:18:09 +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 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
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
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 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 c9e1d2bad7 The bug of incorrect layout should be fixed 2014-01-02 04:21:20 +01:00