Commit Graph

197 Commits

Author SHA1 Message Date
Xinhao Yuan 2c1d8dc59c let switcher use focus fg 2019-07-16 09:28:10 -04:00
Xinhao Yuan d5be7f8298 split gap to inner gap and outer gap 2019-07-16 09:16:09 -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 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 b39d60741e readme 2019-07-14 13:27:29 -04:00
Xinhao Yuan 8b48e9582f allow non-persistent layout 2019-07-14 13:26:13 -04:00
Xinhao Yuan 942895916f readme 2019-07-14 12:46:06 -04:00
Xinhao Yuan 8595530cd8 minor enhancement 2019-07-13 19:01:55 -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 7e2c0359af cleanup 2019-07-13 09:21:53 -04:00
Xinhao Yuan 1ca2cf85a8 fix 2019-07-13 09:06:41 -04:00
Xinhao Yuan cff9763ad8 revising icons 2019-07-13 08:56:44 -04:00
Xinhao Yuan ce931c8be1 put icon into the theme 2019-07-13 08:36:50 -04:00
Xinhao Yuan 3feeb8cc02 icons 2019-07-13 01:03:08 -04:00
Xinhao Yuan 93f5053356 readme 2019-07-12 21:34:44 -04:00
Xinhao Yuan 2e316b6f7b readme 2019-07-12 20:01:49 -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 5b915c8ded readme 2019-07-12 10:25:53 -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 da55952a06 readme 2019-07-11 17:39:22 -04:00
Xinhao Yuan 857dd9e501 readme 2019-07-11 14:40:13 -04:00
Xinhao Yuan 0fec4e452a fix editor 2019-07-11 13:28:24 -04:00
Xinhao Yuan 406ef51c54 readme 2019-07-11 12:59:21 -04:00
Xinhao Yuan c578140bef fix 2019-07-11 11:36:39 -04:00
Xinhao Yuan dfb3e8f365 move region calculation to arrangement 2019-07-11 11:25:20 -04:00
Xinhao Yuan bc8bda02e6 readme 2019-07-10 16:57:39 -04:00
Xinhao Yuan c6e029b557 readme 2019-07-09 23:30:02 -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 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 aaa103080a file fix 2019-07-09 15:04:20 -04:00
Xinhao Yuan 9c00a54811 readme 2019-07-08 17:39:38 -04:00
Xinhao Yuan e9b0b7e234 readme 2019-07-08 17:38:00 -04:00
Xinhao Yuan 27e9369654 readme 2019-07-08 17:36:43 -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 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 d0ce8c318c fix 2019-07-08 00:14:23 -04:00