irc addtions

This commit is contained in:
Sheppy
2017-02-25 00:13:50 +01:00
parent 90821a3863
commit e32974a68c

View File

@@ -2,8 +2,6 @@
import hl_utils import hl_utils
final = ""
date = ""
sep = " | " sep = " | "
RED = 0xff0000 RED = 0xff0000
@@ -74,4 +72,14 @@ def battery():
else: else:
return "" return ""
def irc():
try:
fname = hl_utils.hlpath("irc.log")
tmp = "error"
with open(fname) as f:
pass
#handle pipe
return color_panel(PM,RED)
except(IOError):
return ""
print(guthaben(),battery()) print(guthaben(),battery())