weekly notes : 03/2025

justify-content: safe center;
  • GJS: write to stdout
    • print will write the content with a newline in the end
    • to write without new line, use Gio.DataOutputStream
const outputStream = new Gio.DataOutputStream({
	baseStream: new Gio.UnixOutputStream({ fd: 1, closeFd: true }),
	closeBaseStream: true,
});
outputStream.write(content, null);
outputStream.close(null);
If you find my work helpful, You can buy me a coffee.