river: better workspace
This commit is contained in:
parent
72b635ff42
commit
722a096c1e
@ -78,14 +78,15 @@ button {
|
||||
background-color: var(--ws-urgent);
|
||||
}
|
||||
|
||||
#workspaces>button.empty {
|
||||
background-color: var(--ws-empty);
|
||||
}
|
||||
|
||||
#workspaces>button.active {
|
||||
padding: 0px 32px;
|
||||
background-color: var(--ws-active);
|
||||
}
|
||||
|
||||
#workspaces>button.empty {
|
||||
background-color: var(--ws-empty);
|
||||
}
|
||||
|
||||
|
||||
#date-time,
|
||||
|
||||
@ -191,7 +191,7 @@ class River(Service):
|
||||
# Main event loop
|
||||
logger.info("[RiverService] Entering main event loop")
|
||||
while True:
|
||||
display.roundtrip()
|
||||
display.dispatch(block=True)
|
||||
time.sleep(0.01) # Small sleep to prevent CPU spinning
|
||||
|
||||
except Exception as e:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user