On Sun, Feb 28, 2021 at 06:52:21AM -0800, yobleck wrote:
> I'd like to run some nvidia-settings and picom related commands on startup 
> but not when pressing win/meta + control + r
> Thanks.

Yes, use

@hooks.subscribe.startup_one
def foo():
    print("I am only called once")

vs.

@hooks.subscribe.startup
def foo():
    print("I am called on every restart")

see:

http://docs.qtile.org/en/latest/manual/ref/hooks.html

Tycho

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/20210228145631.GA421111%40cisco.

Reply via email to