lemonbar: Find and launch all modules at runtime
This commit is contained in:
@@ -26,6 +26,9 @@ class bar_mode(Enum):
|
||||
mode = bar_mode.normal
|
||||
|
||||
# Helper functions
|
||||
def hostname():
|
||||
return os.uname()[1]
|
||||
|
||||
ansi_escape = re.compile(r'(\x9B|\x1B\[)[0-?]*[ -/]*[@-~]')
|
||||
def strip_ansi_unicode(s):
|
||||
# ANSI escape sequences are for colors in terminal and similar
|
||||
|
||||
Reference in New Issue
Block a user