summary refs log tree commit diff
path: root/system/luxnox-console.service
diff options
context:
space:
mode:
authorskylar <me@casper>2026-11-28 05:59:53 -0800
committerskylar <me@casper>2026-11-28 05:59:53 -0800
commite4306e5435eef76bad7fa9b3b909362304a8a47e (patch)
treed7856752d733cf2ef4551b3f6c6125635060ab58 /system/luxnox-console.service
luxnox: one palette for light and dark themesHEAD main
palette.toml drives kitty, the dwl desktop (dwl, fuzzel, swaync, wob, wmenu), GTK, Qt, the console and Emacs; luxnox-toggle switches lux and nox. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'system/luxnox-console.service')
-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