Archived. Please see https://www.sainnhe.dev/post/status-line-config
First of all, install a nerd font, and apply it: nerd font
# Make ibus-mozc remember the last used mode (e.g. hiragana) and not switch back to Alphabet on restart | |
# See https://github.com/google/mozc/issues/381 | |
cd $(mktemp -d) | |
apt source ibus-mozc | |
cd mozc-*/ | |
patch src/unix/ibus/property_handler.cc << 'EOF' | |
--- src/unix/ibus/property_handler.cc.orig 2020-10-28 17:21:18.000849932 +0900 | |
+++ src/unix/ibus/property_handler.cc 2020-10-28 17:21:34.172696046 +0900 | |
@@ -80,7 +80,7 @@ |
First of all, install a nerd font, and apply it: nerd font
import Document, { Head, Main, NextScript } from 'next/document' | |
import { renderToString } from 'react-dom/server' | |
import { extractCritical } from 'emotion-server' | |
import { ServerStyleSheet } from 'styled-components' | |
import flush from 'styled-jsx/server' | |
export default class MyDocument extends Document { | |
static async getInitialProps(ctx) { | |
const styledComponentsSheet = new ServerStyleSheet() |