From 0221492f62bcc1b766c2a4d5dbe26f6ff2ed8bc2 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sun, 14 Apr 2024 06:38:49 +0200 Subject: squashed init --- etc/issue | 20 ++++++ etc/ly/config.ini | 140 ++++++++++++++++++++++++++++++++++++++++ etc/modprobe.d/blacklist.conf | 2 + etc/modprobe.d/hid_apple.conf | 1 + etc/systemd/system/wol@.service | 11 ++++ 5 files changed, 174 insertions(+) create mode 100644 etc/issue create mode 100755 etc/ly/config.ini create mode 100644 etc/modprobe.d/blacklist.conf create mode 100644 etc/modprobe.d/hid_apple.conf create mode 100644 etc/systemd/system/wol@.service (limited to 'etc') diff --git a/etc/issue b/etc/issue new file mode 100644 index 0000000..fb0bac1 --- /dev/null +++ b/etc/issue @@ -0,0 +1,20 @@ + -` + .o+` + `ooo/ + `+oooo: + `+oooooo: + -+oooooo+: Welcome to \n... + `/:-:++oooo+: + `/++++/+++++++: You are currently on \l + `/++++++++++++++: OS release > Arch Linux \r + `/+++ooooooooooooo/` Current time > \d \t + ./ooosssso++osssssso+` + .oossssso-````/ossssss+` Have a beautiful day... + -osssssso. :ssssssso. + :osssssss/ osssso+++. + /ossssssss/ +ssssooo/- + `/ossssso+/:- -:/+osssso+- + `+sso+:-` `.-/+oso: + `++:. `-/+/ + .` `/ + 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 -- cgit v1.2.3-70-g09d2