Commit Graph

56 Commits

Author SHA1 Message Date
Xinhao Yuan db19cbc869 Restore correct command in nested editor. 2021-04-18 13:18:44 -04:00
Xinhao Yuan 40a20f08d2 Refactor the engine out of editor. Support adjustment with various tweaks. Need to reduce the diff... 2021-04-18 13:18:42 -04:00
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 79cae17233 Feed in region dependent tag data for nested layouts. 2021-02-15 10:33:41 -05:00
Xinhao Yuan 65dfbb23a5 Change listing condition to any intersection. 2021-02-15 00:20:58 -05:00
Xinhao Yuan d6d75423d9 Let switcher include all clients in a region with nested layout. 2021-02-14 23:53:25 -05:00
Xinhao Yuan 9fd13172ca re-emit focus signal after switching 2019-11-16 23:42:14 -05:00
Xinhao Yuan c82cb3e7a1 switcher: added error handling in keygrabber just in case 2019-10-13 11:47:23 -04:00
Xinhao Yuan 35edb168db quick mode of switcher 2019-10-13 11:41:17 -04:00
Xinhao Yuan 418f4ebbb6 disable tracking in switcher 2019-10-12 19:46:45 -04:00
Xinhao Yuan 504a1f51ba switcher: bug fixes 2019-10-06 12:17: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 98e09cbdb3 minor visual in switcher 2019-09-08 23:28:35 -04:00
Xinhao Yuan 7bdbf4b1f9 switch visual 2019-08-28 21:18:40 -04:00
Xinhao Yuan 4c1bd3a0c3 be more graceful in presence of closing windows. 2019-08-28 20:20:51 -04:00
Xinhao Yuan cdeedcf1ca minor fix 2019-08-26 22:11:06 -04:00
Xinhao Yuan bec644e887 fix switch visual 2019-08-23 23:00:15 -04:00
Xinhao Yuan 315f8a7676 adjust colors in switcher 2019-08-22 19:05:07 -04:00
Xinhao Yuan 4632b29e92 better logging 2019-08-19 23:46:49 -04:00
Xinhao Yuan 7e15746759 make switcher more natural in draft mode 2019-08-19 23:26:27 -04:00
Xinhao Yuan c8d2b5fd45 big refactoring; advanced grid mode; readme 2019-08-10 12:25:51 -04:00
Xinhao Yuan 4d285f135c more fix 2019-08-09 17:34:55 -04:00
Xinhao Yuan e419ef9909 improve switcher behavior 2019-08-09 15:54:41 -04:00
Xinhao Yuan 9376a4397f minor 2019-08-05 22:29:03 -04:00
Xinhao Yuan d0e84ca334 minor 2019-08-04 18:52:50 -04:00
Xinhao Yuan e03f2bbe08 minor 2019-08-01 14:53:13 -04:00
Xinhao Yuan 16fdf8cdd8 minor change 2019-08-01 09:54:18 -04:00
Xinhao Yuan d30d25dc8d minor fix 2019-07-31 22:46:19 -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 9e6bb42623 minor refactoring 2019-07-23 19:08:26 -04:00
Xinhao Yuan 1942d63421 fix visual offset in switcher and editor 2019-07-17 23:26:09 -04:00
Xinhao Yuan 2c1d8dc59c let switcher use focus fg 2019-07-16 09:28:10 -04:00
Xinhao Yuan 7f2c473629 raise client on switcher move 2019-07-15 22:00:33 -04:00
Xinhao Yuan d2520ec3d9 remove focus anyway in switcher 2019-07-15 21:57:18 -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 c1ab5bc81b internal refactoring 2019-07-12 16:17:34 -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 dfb3e8f365 move region calculation to arrangement 2019-07-11 11:25:20 -04:00
Xinhao Yuan 21cad445ae make tablist always visible 2019-07-09 17:34:06 -04:00
Xinhao Yuan 2f3d03fcc3 fix 2019-07-09 15:41:13 -04:00
Xinhao Yuan 602ebbf735 . 2019-07-08 16:12:38 -04:00
Xinhao Yuan 22029cc6b4 fix for multi-screen 2019-07-08 13:15:05 -04:00
Xinhao Yuan 366cb13e71 pango already scale with dpi? 2019-07-08 07:39:30 -04:00
Xinhao Yuan 058f9a26a7 switcher: use pango for cjk support 2019-07-08 07:36:06 -04:00
Xinhao Yuan 1f690824fd improve switch window list 2019-07-08 10:03:49 -04:00
Xinhao Yuan 6cec9928ec better traverse 2019-07-07 17:36:48 -04:00
Xinhao Yuan 2adc6847f1 show a list of windows when switching 2019-07-07 17:18:10 -04:00