From 654d2ad9c1009afb6f3d0624a775973151bfb911 Mon Sep 17 00:00:00 2001 From: kittenlikeasmallcat <75060689+ktnlikeasmallcat@users.noreply.github.com> Date: Thu, 4 Aug 2022 08:05:33 +0000 Subject: [PATCH] Add files via upload --- etc/emptty/conf | 78 ++++++++++++++++++++++++++++++++++++++++++ etc/emptty/motd-gen.sh | 7 ++++ 2 files changed, 85 insertions(+) create mode 100644 etc/emptty/conf create mode 100644 etc/emptty/motd-gen.sh diff --git a/etc/emptty/conf b/etc/emptty/conf new file mode 100644 index 0000000..be5dfc2 --- /dev/null +++ b/etc/emptty/conf @@ -0,0 +1,78 @@ +# TTY, where emptty will start. +TTY_NUMBER=7 + +# Enables switching to defined TTY number. +SWITCH_TTY=true + +# Enables printing of /etc/issue in daemon mode. +PRINT_ISSUE=false + +# Enables printing of default motd, /etc/emptty/motd or /etc/emptty/motd-gen.sh. +PRINT_MOTD=true + +# Preselected user, if AUTOLOGIN is enabled, this user is logged in. +#DEFAULT_USER=ktn + +# Enables Autologin, if DEFAULT_USER is defined and part of nopasswdlogin group. Possible values are "true" or "false". +AUTOLOGIN=false + +# The default session used, if Autologin is enabled. If session is not found in list of session, it proceeds to manual selection. +#AUTOLOGIN_SESSION=herbstluftwm +DEFAULT_SESSION=herbstluftwm + +# If Autologin is enabled and session does not start correctly, the number of retries in short period is kept to eventually stop the infinite loop of restarts. -1 is for infinite retries, 0 is for no retry. +# AUTOLOGIN_MAX_RETRY=2 + +# Default LANG, if user does not have set own in init script. +#LANG=en_US.UTF-8 + +# Starts desktop with calling "dbus-launch". +DBUS_LAUNCH=true + +# Starts Xorg desktop with calling "~/.xinitrc" script, if is true, file exists and selected WM/DE is Xorg session, it overrides DBUS_LAUNCH. +#XINITRC_LAUNCH=true + +# Prints available WM/DE each on new line instead of printing on single line. +VERTICAL_SELECTION=false + +# Defines the way, how is logging handled. Possible values are "default", "appending" or "disabled". +LOGGING=default + +# Overrides path of log file +#LOGGING_FILE=/var/log/emptty/tty2.log + +# Arguments passed to Xorg server. +#XORG_ARGS= + +# Allows to use dynamic motd script to generate custom MOTD. +DYNAMIC_MOTD=true + +# Allows to override default path to dynamic motd. +#DYNAMIC_MOTD_PATH=/etc/emptty/motd-gen.sh + +# Allows to override default path to static motd. +#MOTD_PATH=/etc/emptty/motd + +# Foreground color, available only in daemon mode. +FG_COLOR=LIGHT_GREEN + +# Background color, available only in daemon mode. +#BG_COLOR=BLACK + +# Enables numlock in daemon mode. Possible values are "true" or "false". +#ENABLE_NUMLOCK=false + +# Defines the way, how is logging of session errors handled. Possible values are "default", "appending" or "disabled". +SESSION_ERROR_LOGGING=default + +# Overrides path of session errors log file +#SESSION_ERROR_LOGGING_FILE=/var/log/emptty/session-errors.tty2.log + +# If set true, it will not use `.emptty-xauth` file, but the standard `~/.Xauthority` file. This allows to handle xauth issues. +#DEFAULT_XAUTHORITY=false + +#If set true, Xorg will be started as rootless, if system allows and emptty is running in daemon mode. +ROOTLESS_XORG=false + +#If set true, environemntal groups are printed to differ Xorg/Wayland/Custom/UserCustom desktops. +IDENTIFY_ENVS=false diff --git a/etc/emptty/motd-gen.sh b/etc/emptty/motd-gen.sh new file mode 100644 index 0000000..c7c9174 --- /dev/null +++ b/etc/emptty/motd-gen.sh @@ -0,0 +1,7 @@ +#!/bin/sh +echo "" +echo "" +echo "" +echo "" +echo "" +exec figlet -ct -f shadow EMPTTY login :