diff options
author | Botond Hende <nettingman@gmail.com> | 2024-04-14 06:38:49 +0200 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-04-14 06:38:49 +0200 |
commit | 0221492f62bcc1b766c2a4d5dbe26f6ff2ed8bc2 (patch) | |
tree | f91b7ada571a4dab7ae99c8f3ee252616baff2db /etc |
squashed init
Diffstat (limited to 'etc')
-rw-r--r-- | etc/issue | 20 | ||||
-rwxr-xr-x | etc/ly/config.ini | 140 | ||||
-rw-r--r-- | etc/modprobe.d/blacklist.conf | 2 | ||||
-rw-r--r-- | etc/modprobe.d/hid_apple.conf | 1 | ||||
-rw-r--r-- | etc/systemd/system/wol@.service | 11 |
5 files changed, 174 insertions, 0 deletions
diff --git a/etc/issue b/etc/issue new file mode 100644 index 0000000..fb0bac1 --- /dev/null +++ b/etc/issue @@ -0,0 +1,20 @@ +[1;34;49m -` +[1;34;49m .o+` +[1;34;49m `ooo/ +[1;34;49m `+oooo: +[1;34;49m `+oooooo: +[1;34;49m -+oooooo+: [1;32;49mWelcome to [1;35;49m\n[1;32;49m... +[1;34;49m `/:-:++oooo+: +[1;34;49m `/++++/+++++++: [1;32;49mYou are currently on [1;33;49m\l +[1;34;49m `/++++++++++++++: [1;32;49mOS release > [1;35;49mArch Linux \r +[1;34;49m `/+++ooooooooooooo/` [1;32;49mCurrent time > [1;35;49m\d \t +[1;34;49m ./ooosssso++osssssso+` +[1;34;49m .oossssso-````/ossssss+` [1;32;49mHave a beautiful day... +[1;34;49m -osssssso. :ssssssso. +[1;34;49m :osssssss/ osssso+++. +[1;34;49m /ossssssss/ +ssssooo/- +[1;34;49m `/ossssso+/:- -:/+osssso+- +[1;34;49m `+sso+:-` `.-/+oso: +[1;34;49m `++:. `-/+/ +[1;34;49m .` `/ +[0m diff --git a/etc/ly/config.ini b/etc/ly/config.ini new file mode 100755 index 0000000..9f37526 --- /dev/null +++ b/etc/ly/config.ini @@ -0,0 +1,140 @@ +# Animation enabled/disabled +animate = true + +# The active animation +# 0 -> PSX DOOM fire (default) +# 1 -> CMatrix +animation = 1 + +# format string for clock in top right corner (see strftime specification) +clock = %Y-%m-%m, %a %H:%M:%S + +# enable/disable big clock +bigclock = true + +# The character used to mask the password +#asterisk = * + +# Erase password input on failure +blank_password = true + +#The `fg` and `bg` color settings take a digit 0-8 corresponding to: +#define TB_DEFAULT 0x00 +#define TB_BLACK 0x01 +#define TB_RED 0x02 +#define TB_GREEN 0x03 +#define TB_YELLOW 0x04 +#define TB_BLUE 0x05 +#define TB_MAGENTA 0x06 +#define TB_CYAN 0x07 +#define TB_WHITE 0x08 +# +# Setting both to zero makes `bg` black and `fg` white. To set the actual color palette you are encouraged to use another tool +# such as [mkinitcpio-colors](https://github.com/evanpurkhiser/mkinitcpio-colors). Note that the color palette defined with +# `mkinitcpio-colors` takes 16 colors (0-15), only values 0-8 are valid for `ly` config and these values do not correspond +# exactly. For instance, in defining palettes with `mkinitcpio-colors` the order is black, dark red, dark green, brown, dark +# blue, dark purple, dark cyan, light gray, dark gray, bright red, bright green, yellow, bright blue, bright purple, bright +# cyan, and white, indexed in that order 0 through 15. For example, the color defined for white (indexed at 15 in the mkinitcpio +# config) will be used by `ly` for `fg = 8`. + +# Background color id +#bg = 0 + +# Foreground color id +#fg = 9 + +# Blank main box background +# Setting to false will make it transparent +#blank_box = true + +# Remove main box borders +#hide_borders = false + +# Main box margins +#margin_box_h = 2 +#margin_box_v = 1 + +# Input boxes length +#input_len = 34 + +# Max input sizes +#max_desktop_len = 100 +#max_login_len = 255 +#max_password_len = 255 + + +# Input box active by default on startup +#default_input = 2 + +# Load the saved desktop and username +#load = true + +# Save the current desktop and login as defaults +#save = true + +# File in which to save and load the default desktop and login +#save_file = /etc/ly/save + + +# Remove F1/F2 command hints +#hide_f1_commands = false + +# Command executed when pressing F1 +#shutdown_cmd = /sbin/shutdown -a now + +# Command executed when pressing F2 +#restart_cmd = /sbin/shutdown -r now + + +# Active language +# Available languages are found in /etc/ly/lang/ +#lang = en + + +# tty in use +tty = 1 + +# Console path +#console_dev = /dev/console + +# Default path +#path = /sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin + + +# Event timeout in milliseconds +#min_refresh_delta = 5 + +# Service name (set to ly to use the provided pam config file) +#service_name = ly + +# Terminal reset command (tput is faster) +#term_reset_cmd = /usr/bin/tput reset + +# Cookie generator +#mcookie_cmd = /usr/bin/mcookie + + +# Wayland setup command +#wayland_cmd = /etc/ly/wsetup.sh + +# Add wayland specifier to session names +#wayland_specifier = false + +# Wayland desktop environments +#waylandsessions = /usr/share/wayland-sessions + + +# xinitrc +#xinitrc = ~/.xinitrc + +# Xorg server command +#x_cmd = /usr/bin/X + +# Xorg setup command +#x_cmd_setup = /etc/ly/xsetup.sh + +# Xorg xauthority edition tool +#xauth_cmd = /usr/bin/xauth + +# Xorg desktop environments +#xsessions = /usr/share/xsessions diff --git a/etc/modprobe.d/blacklist.conf b/etc/modprobe.d/blacklist.conf new file mode 100644 index 0000000..291ce16 --- /dev/null +++ b/etc/modprobe.d/blacklist.conf @@ -0,0 +1,2 @@ +blacklist pcspkr +blacklist wacom diff --git a/etc/modprobe.d/hid_apple.conf b/etc/modprobe.d/hid_apple.conf new file mode 100644 index 0000000..44c76e7 --- /dev/null +++ b/etc/modprobe.d/hid_apple.conf @@ -0,0 +1 @@ +options hid_apple fnmode=2 diff --git a/etc/systemd/system/wol@.service b/etc/systemd/system/wol@.service new file mode 100644 index 0000000..b60d539 --- /dev/null +++ b/etc/systemd/system/wol@.service @@ -0,0 +1,11 @@ +[Unit] +Description=Wake-on-LAN for %i +Requires=network.target +After=network.target + +[Service] +ExecStart=/usr/bin/ethtool -s %i wol gp +Type=oneshot + +[Install] +WantedBy=multi-user.target |