NoSignal-OS/os updates/fish-to-bash/hypr-configs.bash
28allday 19fd794b6b NoSignal — fully-offline Arch → Hyprland desktop installer
Single-script builder (nosignal.sh) that turns a stock Arch Linux ISO into a
fully-offline installer for a themed Hyprland + caelestia (Quickshell) desktop:
matching SDDM greeter, Btrfs/Limine bootable snapshots, chwd-style GPU
detection, and a curated "os updates" layer (keybind cheatsheet, settings
panels, system polish, on-box management skill). See README.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 11:03:10 +01:00

22 lines
523 B
Bash
Executable file

#!/usr/bin/env bash
# Ensure the NoSignal user-override files exist — bash port of configs.fish.
# Installed to ~/.config/hypr/scripts/configs.fish (the path hyprland.conf
# exec's at startup); runs as bash via this shebang.
# Usage: configs <config-dir>
reload=false
dir="$1"
[[ -d "$dir" ]] || mkdir -p "$dir"
if [[ ! -f "$dir/hypr-vars.conf" ]]; then
touch "$dir/hypr-vars.conf"
reload=true
fi
if [[ ! -f "$dir/hypr-user.conf" ]]; then
touch "$dir/hypr-user.conf"
reload=true
fi
$reload && hyprctl reload