summary refs log tree commit diff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/luxnox-console.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/luxnox-console.service b/system/luxnox-console.service
new file mode 100644
index 0000000..e0acdd5
--- /dev/null
+++ b/system/luxnox-console.service
@@ -0,0 +1,16 @@
+# luxnox: the text consoles' 16 colors (nox), loaded before the greeter.
+# Installed by `sudo make install-console` in ~/Projects/luxnox, along with
+# /usr/local/share/luxnox/vtrgb, which `./luxnox gen` makes from palette.toml.
+[Unit]
+Description=luxnox colors for the text consoles
+After=systemd-vconsole-setup.service
+Before=greetd.service display-manager.service
+ConditionPathExists=/dev/tty0
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/setvtrgb /usr/local/share/luxnox/vtrgb
+
+[Install]
+WantedBy=multi-user.target