mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[FEAT]: Watching Variables (e.g. workspace number) #282
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @skulldogged on GitHub (Jan 13, 2024).
Is your feature request related to a problem? Please describe.
I've added a widget to the rainmeter skin I use that shows which komorebi workspace I'm on. As of right now though, it doesn't seem I can properly "watch" the workspace value for changes. Currently I'm just re-running
komorebic query focused-workspace-indexevery second.Describe the solution you'd like
A komorebic command for watching values for changes, outputting the new value to stdout when it changes.
Describe alternatives you've considered
As said above, I just re-run the query every second.
Additional context
N/A
@skulldogged commented on GitHub (Jan 13, 2024):
(Apologies if this already exists, but from what I've seen in the documentation + issues it doesn't seem to be.)
@LGUG2Z commented on GitHub (Jan 13, 2024):
This is an interesting idea; would it be enough to terminate reach returned update value with a newline?
@LGUG2Z commented on GitHub (Jan 13, 2024):
Also I'd love to see a screenshot of what you've made in Rainmeter!
@modkavartini commented on GitHub (Jan 13, 2024):
they would be referring to something like this:
(i coincidentally fell upon this post xd)
@skulldogged commented on GitHub (Jan 14, 2024):
Honestly, I'm not sure... I don't see any reason why that would be bad, but I'm not sure if it would be the best approach either.
@melMass commented on GitHub (Jan 31, 2024):
Thanks a lot @modkavartini , super useful widget, I had a bad experience with bulky rm skins years ago but this bar works really well and was my missing bit after swtiching from GlazeWM to komorebi!
@LGUG2Z IMHO it could be referenced in the readme since yasb is not straightforward to install and quite bulky in the end
@melMass commented on GitHub (Mar 21, 2024):
I guess this can be closed now that we have event subscription
@LGUG2Z commented on GitHub (Mar 21, 2024):
Yeah, since you can now subscribe to events with the entire state using both UDS and Named Pipes I'm gonna close this out.