kmscon icon indicating copy to clipboard operation
kmscon copied to clipboard

More extensive kmscon-launch-gui.sh tweaks, inotifywait

Open Vladimir-csp opened this issue 1 month ago • 1 comments

Continuation of #162

Use inotifywait to monitor foreground console change, if available, otherwise fallback to sleep.

Use case for control sequence selectors as it is more compact, elegant, and handy for potential future variant additions.

apply shfmt -s -sr formatting.

Vladimir-csp avatar Dec 05 '25 07:12 Vladimir-csp

Sorry, I pushed to your branch, because I wanted to cleaned-up the commit history, the content should be the same. The only thing I changed, is I kept the \ at the end of printf '\033Ptmux;\033\033]setBackground\a\033\\'. The reason is that we want an \ and this must be escaped, it works if you put only one, because it's the last char of the string, but if you want to append some stuff it won't work. If no other comments, I will merge it.

kdj0c avatar Dec 05 '25 12:12 kdj0c

Corrected a dumb mistake, sorry.

Vladimir-csp avatar Dec 07 '25 15:12 Vladimir-csp