mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 15:11:35 +01:00
[git fast commit] 01. Jul 2018 - 03:11:02
This commit is contained in:
@@ -74,16 +74,18 @@ def bcw():
|
||||
return ""
|
||||
def bwp():
|
||||
tmp = ""
|
||||
cur = 21
|
||||
try:
|
||||
with open(hl_utils.hlpath(BC_PAGE_LOG),'r') as f:
|
||||
tmp = "{} pages".format(f.read().strip())
|
||||
except:
|
||||
tmp = "21 pages"
|
||||
return hl_utils.color_panel(tmp,RED)
|
||||
tmp = "{} pages".format(cur)
|
||||
tmp = hl_utils.color_panel(tmp,hl_utils.get_color(cur,0,50))
|
||||
return tmp
|
||||
|
||||
|
||||
def countdown():
|
||||
delta = datetime(year=2018,month=7,day=22,hour=20) - datetime.now()
|
||||
delta = datetime(year=2018,month=7,day=23,hour=8) - datetime.now()
|
||||
if delta.days > 1:
|
||||
tmp = "{} von 150 Tagen bis Abgabe verbleibend".format(delta.days)
|
||||
else:
|
||||
|
||||
@@ -12,7 +12,7 @@ show_program_path=1
|
||||
highlight_base_name=0
|
||||
highlight_megabytes=1
|
||||
highlight_threads=1
|
||||
tree_view=1
|
||||
tree_view=0
|
||||
header_margin=1
|
||||
detailed_cpu_time=0
|
||||
cpu_count_from_zero=0
|
||||
|
||||
Reference in New Issue
Block a user