manateelazycat/awesome-tray

mode-line is very weird when using org clock

Ryan19929 opened this issue · 4 comments

before
图片

after
图片

When I use org-clock, the disabled mode-line will be weird. (org-clock-clocked-display in mode-line default)

Awesome-tray-hide-mode-line is not-nil, the thin mode-line become not thin.

I know disable the org-clock-clocked-display will become thin mode-line . But is this normal?

用中文吧, 我没看懂你说的英文是啥意思?

when you set awesome-tray-hide-mode-line and mode-line-format to nil any packages that mess with the mode-line can re-enable the mode-line, packages like anzu have an option to disable that without disabling the functionality and you can use an advice to deal with the info instead
if both variables are nil this is unexpected

用中文吧, 我没看懂你说的英文是啥意思?

不好意思,英语不太好。就是在使用hide-mode-line的时候,org-clock会默认在mode-line上添加一个clock,会让之前隐藏变成很细的mode-line变回原来的高度,并且高亮,效果就是之前的after,看上去非常奇怪。

when you set awesome-tray-hide-mode-line and mode-line-format to nil any packages that mess with the mode-line can re-enable the mode-line, packages like anzu have an option to disable that without disabling the functionality and you can use an advice to deal with the info instead
if both variables are nil this is unexpected

Thank you! I disable the function and use the org-clock module.