Add a setting tab_activity_symbol

Fixes #2515
This commit is contained in:
Kovid Goyal
2020-09-08 21:54:56 +05:30
parent 83315f7999
commit 9a54da84dc
8 changed files with 48 additions and 3 deletions

View File

@@ -514,6 +514,10 @@ class Window:
def is_active(self) -> bool:
return get_boss().active_window is self
@property
def has_activity_since_last_focus(self) -> bool:
return self.screen.has_activity_since_last_focus()
def on_bell(self) -> None:
if self.opts.command_on_bell and self.opts.command_on_bell != ['none']:
import subprocess