Commit Graph

65 Commits

Author SHA1 Message Date
Gokul Swami 88ee21dcdc Prefix beautiful variables with "machi" 2021-03-01 02:37:57 -08:00
Gokul Swami 526f481f0b Added Beautiful Vars
Added more variables for customizing, which defaults to the ones from
the dev.
2021-02-18 05:52:09 -08:00
Xinhao Yuan a651f5528e Nested layout. 2021-02-14 23:05:19 -05:00
Xinhao Yuan 7b0637a37a tune 'w' command. 2020-04-26 21:36:28 -04:00
Xinhao Yuan 72835899ee fix invalid command handling 2020-04-23 23:15:32 -04:00
Xinhao Yuan 00e3e0aba5 Provided default value of editor; Changed document. 2020-03-21 17:03:27 -04:00
Xinhao Yuan a1378403c7 change layout.create prototype 2020-03-21 16:51:50 -04:00
Xinhao Yuan 6970d9b01b adjusted the gap model 2019-09-14 14:55:01 -04:00
Xinhao Yuan 4951fa560b use beautiful.font instead of non-standard .mono_font 2019-09-09 22:37:11 -04:00
Xinhao Yuan 4632b29e92 better logging 2019-08-19 23:46:49 -04:00
Xinhao Yuan 610be92a8b command 2019-08-11 09:09:06 -04:00
Xinhao Yuan 830f0be459 minor 2019-08-10 16:25:42 -04:00
Xinhao Yuan bd0a2fc15f fix local ref 2019-08-10 13:42:18 -04:00
Xinhao Yuan ec9507b766 max depth 2019-08-10 13:33:00 -04:00
Xinhao Yuan c8d2b5fd45 big refactoring; advanced grid mode; readme 2019-08-10 12:25:51 -04:00
Xinhao Yuan 820dcc98f6 more flexible arg string parsing. TODO doc 2019-08-10 00:13:12 -04:00
Xinhao Yuan d0e84ca334 minor 2019-08-04 18:52:50 -04:00
Xinhao Yuan 752539bba5 Draft mode 2019-07-31 21:00:38 -04:00
Xinhao Yuan 11c804266c use awful.keygrabber 2019-07-24 18:11:44 -04:00
Xinhao Yuan a1b6eef873 make useless_gap usage more friendly; minor fix 2019-07-21 12:03:55 -04:00
Xinhao Yuan 1942d63421 fix visual offset in switcher and editor 2019-07-17 23:26:09 -04:00
Xinhao Yuan d5be7f8298 split gap to inner gap and outer gap 2019-07-16 09:16:09 -04:00
Xinhao Yuan da40f8c24f get useless_gap later 2019-07-15 01:46:00 -04:00
Xinhao Yuan dfb0f19512 revise the naming function 2019-07-14 13:34:54 -04:00
Xinhao Yuan 8b48e9582f allow non-persistent layout 2019-07-14 13:26:13 -04:00
Xinhao Yuan 6ea5f035ed Incorporating reddit comments from u/sigprof. Thanks!
1. Instead of setting beautiful.layout_machi. Provide `machi.get_icon()` to generate the icon.
2. Make `layout.create(name, editor)` take `name` as a function to customize tag-dependent naming.
3. Editor/switch now grabs theme settings before starting instead of loading.
2019-07-13 18:45:38 -04:00
Xinhao Yuan 40437871d3 make layout dependent on tags 2019-07-12 20:01:41 -04:00
Xinhao Yuan 2436da4c89 internal refactoring 2019-07-12 16:21:35 -04:00
Xinhao Yuan c1ab5bc81b internal refactoring 2019-07-12 16:17:34 -04:00
Xinhao Yuan f65b161ab4 minor fix 2019-07-12 16:00:12 -04:00
Xinhao Yuan aab0aad031 Following previous commit: avoid region overlapping during float arithmetics of splitting. 2019-07-12 12:35:19 -04:00
Xinhao Yuan 2ca22c2cc1 Incorporating comments from reddit. Thanks u/sigprof.
1. Removed unintended global names
2. The default history file changed to `gfs.get_cache_dir() .. "/history_machi"`
3. `editor` will detect if the layout is machi before start
4. Added `machi_` prefix for machi fields in the layout objects.
2019-07-12 10:05:58 -04:00
Xinhao Yuan 65da3ca70d simplify package; optional scr; readme 2019-07-11 18:06:40 -04:00
Xinhao Yuan 0fec4e452a fix editor 2019-07-11 13:28:24 -04:00
Xinhao Yuan dfb3e8f365 move region calculation to arrangement 2019-07-11 11:25:20 -04:00
Xinhao Yuan e25d158f5b (maybe) better error handling 2019-07-09 23:01:30 -04:00
Xinhao Yuan ad3273f42a multiple digits 2019-07-09 22:07:54 -04:00
Xinhao Yuan aaa103080a file fix 2019-07-09 15:04:20 -04:00
Xinhao Yuan e78ce88942 api change 2019-07-08 17:32:45 -04:00
Xinhao Yuan 16a6f77ea4 save last command based on layout name 2019-07-08 16:58:09 -04:00
Xinhao Yuan 22029cc6b4 fix for multi-screen 2019-07-08 13:15:05 -04:00
Xinhao Yuan d0ce8c318c fix 2019-07-08 00:14:23 -04:00
Xinhao Yuan 75e42f33e2 fix 2019-07-07 16:43:54 -04:00
Xinhao Yuan c2f8691b9c refactoring 2019-07-07 16:19:18 -04:00
Xinhao Yuan 745c7cd769 integration 2019-07-06 17:06:14 -04:00
Xinhao Yuan 7588d3e816 switcher fix 2019-07-06 12:22:19 -04:00
Xinhao Yuan a6abb55780 doc 2019-07-06 00:35:41 -04:00
Xinhao Yuan faa2467e47 cycle -> fit 2019-07-06 00:16:58 -04:00
Xinhao Yuan 9d1f7aa52f fix 2019-07-06 00:11:41 -04:00
Xinhao Yuan dfd6c0f69c fix 2019-07-06 00:11:17 -04:00