TMatrix
TMatrix copied to clipboard
Make a screensaver?
Hi! I love this digital rain effect. Best one I've ever seen by far. I've been thinking about how it might be possible to turn this into a screensaver somehow?
Has the creator considered this? Anyone have any ideas how this might be accomplished?
Hi, thanks for the kind words, I'm glad you like it :)
I've heard people talking about maybe using XScreenSaver for this, though I've never seen it done. It seems like an approachable problem, some ways that come to mind are somehow full-screening the terminal or switching tty's but I haven't given much though to it, to be honest.
for X and alacritty:
alacritty --option "window.decorations=none" --option "window.startup_mode=Fullscreen" --title alactmat --command tmatrix & $(wmctrl -a alactmat) & xtrlock && $(wmctrl -c alactmat)
another ex.:
projectMSDL & $(wmctrl -b add,fullscreen -a 'projectM') & xtrlock && (killall projectMSDL) || killall -9 projectMSDL
As for a real TTY, no idea, maybe You could port some 'vlock' code, on arch it's part of kbd package.
(https://superuser.com/questions/152347/change-linux-console-screen-blanking-behavior)
After some thought this could be improved using 'xautolock' or 'xidlehook' with a notify and some more programatic bash scipt checking 'pidoff' also since xtrlock can emit succes signal with '-f' possibilities are endless.