From 398ce598fcba897e2a0c1454304513741d110799 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Wed, 21 Oct 2020 21:28:09 +0100 Subject: [PATCH] widgets: status: Add a status bar combo widget Signed-off-by: Daniel Thompson --- res/blestatus.png | Bin 1608 -> 1627 bytes res/notification.png | Bin 1637 -> 1636 bytes wasp/icons.py | 35 ++++++++++++++-------------- wasp/widgets.py | 53 +++++++++++++++++++++++++++++++++++++------ 4 files changed, 64 insertions(+), 24 deletions(-) diff --git a/res/blestatus.png b/res/blestatus.png index c2725b51354bd631f0d964376eda597ab6765efd..f4a62c556338cde5f69b479f2db877e1bfc1bb7c 100644 GIT binary patch delta 1593 zcmV-92FCfw4BHHUiBL{Q4GJ0x0000DNk~Le0000M0000W5CQ-I0Lf*;p8x;@n0i!L zbW&k=AaHVTW@&6?Aar?fWgumEX=VTbc-pm3PsCkCE zPQ?+*d}7(Ocv|h>bQIWtEENYwMx+`x3*KU81ZI0um*b6b*TYxBcO-Pq?2#ZLr|s?i zvK$k1N^+imQ}meq+vp+rlBV1|qR2@*y+nG;mMO&-e z?vnM$sGk+J(4L*X28!6SHDj4a3wRvHVYG;*OIlVSFUyMbWQ-#Vvfqd;7f#%`j(+78 zAzG;t(2K0V(q(FbL|MUyjqQz_1QSg$3UaGdG6rIQxy8c6Zyf$sR(LK9Rbd!oEP31L z)8wBtYHjT);zhSS zzOg2M@X!?}Ub+}}6F@lQO#qu{5@1>DP(Q&cYA8A5taHx0;FMf+$s2FI^WF#FFS!&< zu)zf%LeLOHQlnO#dJU=?HARUAcc65So zPc5DMTpLtU(`^V*A8Km3)r>3hc?~@qx!RwdQ9I0i^ZKd3ytPM_N2mYK*1C)57_M!Y z4z_nk-A(RDcO&1n+eNgG$I2hYvpJx&Y3`=pMD;lu3^P45xr+W^d=%s{k`Mhi^K{MM zJ9l^U^s^coHcm+)(QnwV_4La6hy1=wbw*c1KW5}rG0?plKBV`;w&{IcKLWpYM9$~! z6v?%e(=~tJ-O%6MK_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