Commit e5c1fbad authored by Franciszek Madej's avatar Franciszek Madej 🤞

Add Base16 TTY

parent 533174e0
#!/bin/sh
if [ -n "$1" ]; then
conf=$1
elif [ -f /etc/base16-tty.conf ]; then
. /etc/base16-tty.conf
conf=$THEME
fi
bash -c "/home/kosciak/.config/base16-shell/scripts/$THEME.sh"
[Unit]
Wants=base16-tty@%i.service
# Solarized Linux console colorscheme
# Systemd unit to apply Solarized theme to a tty.
#
# Author: Alexandre de Verteuil
# Date: 2013-09-21
# URL: https://github.com/adeverteuil/console-solarized
# Main Solarized project URL: http://ethanschoonover.com/solarized
#
# This file should be placed in "/etc/systemd/system".
# There is no need to enable it with "systemctl enable".
# Placing "solarized.conf" in "/etc/systemd/system/getty@.service.d"
# will add a Wants directive to all instantiated getty@.service units.
[Unit]
Description=Base16 Shell in TTY
After=getty@%i.service
[Service]
Type=oneshot
ExecStart=/bin/base16-tty
StandardOutput=tty
TTYPath=/dev/%i
TTYVTDisallocate=yes
[Install]
WantedBy=getty@%i.service
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment