Begin implementing screen thread in lemonbar
This commit is contained in:
@@ -3,7 +3,7 @@ from enum import Enum
|
||||
|
||||
import i3_lemonbar_config as config
|
||||
|
||||
p_bluetooth = None
|
||||
p_screen = None
|
||||
kill_on_unfocus = []
|
||||
|
||||
class bar_mode(Enum):
|
||||
@@ -61,8 +61,8 @@ def bluetooth(args):
|
||||
btcargs = [a.replace('pxc550', '00:16:94:22:29:0E') for a in btcargs]
|
||||
btcargs.append('\n')
|
||||
inp = ' '.join(btcargs)
|
||||
p_bluetooth.stdin.write(inp)
|
||||
p_bluetooth.stdin.flush()
|
||||
p_screen.stdin.write(inp)
|
||||
p_screen.stdin.flush()
|
||||
|
||||
show_secs = False
|
||||
def toggle_secs(args):
|
||||
|
||||
Reference in New Issue
Block a user