From f8e77b7f064a1dda2a5d5d64e76ea5db7a619894 Mon Sep 17 00:00:00 2001 From: bh Date: Sun, 22 Mar 2026 23:23:37 +0800 Subject: Add a bash script to stow dotfiles and add a system folder to store system configurations --- stowall | 19 +++++++++++ system/ly/etc/ly/config.ini | 82 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100755 stowall create mode 100644 system/ly/etc/ly/config.ini diff --git a/stowall b/stowall new file mode 100755 index 0000000..ecb899f --- /dev/null +++ b/stowall @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +set -euo pipefail + +DOTFILES_DIR="${1:-$HOME/Dotfiles}" + +cd "$DOTFILES_DIR" + +for pkg in *; do + [[ "$pkg" == "system" ]] && continue + [[ -d "$pkg" ]] || continue + stow -d "$DOTFILES_DIR" -t "$HOME" "$pkg" +done + +if [[ -d system ]]; then + for pkg in system/*; do + [[ -d "$pkg" ]] || continue + sudo stow -d "$DOTFILES_DIR/system" -t / "$(basename "$pkg")" + done +fi diff --git a/system/ly/etc/ly/config.ini b/system/ly/etc/ly/config.ini new file mode 100644 index 0000000..7a8bf7d --- /dev/null +++ b/system/ly/etc/ly/config.ini @@ -0,0 +1,82 @@ +# ╔════════════════════════════════════════════════════════════╗ +# ║ 🎞️ Animation Settings ║ +# ╚════════════════════════════════════════════════════════════╝ + +# Screen animation style +animation = colormix + + +# ╔════════════════════════════════════════════════════════════╗ +# ║ 🕒 Clock Settings ║ +# ╚════════════════════════════════════════════════════════════╝ + +# Enable the large clock display +bigclock = en + +# Use 24-hour time format +bigclock_12hr = false + +# Hide seconds in the large clock +bigclock_seconds = false + +# Main clock format: +# %a = abbreviated weekday +# %b = abbreviated month +# %d = day of month +# %T = HH:MM:SS +# %Y = full year +clock = %a %b %d %T %Y + + +# ╔════════════════════════════════════════════════════════════╗ +# ║ 🎨 General Appearance ║ +# ╚════════════════════════════════════════════════════════════╝ + +# Enable full colour rendering +full_color = true + +# Show a blank input box +blank_box = true + +# Keep borders visible +hide_borders = false + +# Show key hints on screen +hide_key_hints = false + +# Show keyboard lock indicators (Caps/Num/etc.) +hide_keyboard_locks = true + +# Show version string +hide_version_string = false + + +# ╔════════════════════════════════════════════════════════════╗ +# ║ 🌈 Colour Settings ║ +# ╚════════════════════════════════════════════════════════════╝ + +# Foreground colour +fg = 0x008AFFFF + +# Background colour +bg = 0x00003636 + +# Border colour +border_fg = 0x008AFFFF + +# Error text colour +error_fg = 0x00FF373D + + +# ╔════════════════════════════════════════════════════════════╗ +# ║ 🧪 Colormix Palette ║ +# ╚════════════════════════════════════════════════════════════╝ + +# First gradient/mix colour +colormix_col1 = 0x008AFFFF + +# Second gradient/mix colour +colormix_col2 = 0x000080FF + +# Third gradient/mix colour +colormix_col3 = 0x00FFC600 -- cgit v1.2.3