~j33s

Recent activity

kanshi: sway reload breaks kanshi config 4 months ago

From to ~emersion/public-inbox

I would like this thread to serve as a continuation of
https://github.com/emersion/kanshi/issues/43, since this is still an issue.

I would have left a comment in that thread as well, but the repository has been archived
thus I cannot.

The `exec_always pkill kanshi; exec kanshi` workaround didn't quite work for
me, my laptop display would remain enabled whenever I started sway. A reload
solved that, but it felt a little annoying to have to reload sway every time I started
my computer.

So, I adjusted the workaround a little bit and wound up with this:

exec_always exec kanshi; sleep 1; pkill kanshi; exec kanshi