chore(cleanup): remove orphaned shell configs, waybar configs, ufw.sh, and arch-logo embed
- commit
- 792b6e0d27caa943896484378c88b22429b70681
- author
- brice · · 2026-02-28 05:21 UTC
- parent
- 374e98b
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
12 files · +0 -199
D install/configs/shell/aliases +0 -38
| @@ -1,38 +0,0 @@ | |||
| 1 | - | # Eza aliases (modern ls replacement) | |
| 2 | - | if command -v eza &> /dev/null; then | |
| 3 | - | alias ls='eza -lh --group-directories-first --icons=auto' | |
| 4 | - | alias lsa='ls -a' | |
| 5 | - | alias lt='eza --tree --level=2 --long --icons --git' | |
| 6 | - | alias lta='lt -a' | |
| 7 | - | alias ll='eza -l --icons=auto' | |
| 8 | - | alias la='eza -la --icons=auto' | |
| 9 | - | fi | |
| 10 | - | ||
| 11 | - | # Bat + FZF integration | |
| 12 | - | if command -v bat &> /dev/null && command -v fzf &> /dev/null; then | |
| 13 | - | alias ff="fzf --preview 'bat -n --color=always {}' --preview-window right:60%:wrap" | |
| 14 | - | fi | |
| 15 | - | ||
| 16 | - | # Bat aliases | |
| 17 | - | if command -v bat &> /dev/null; then | |
| 18 | - | alias cat='bat -pp' | |
| 19 | - | alias less='bat' | |
| 20 | - | fi | |
| 21 | - | ||
| 22 | - | # Fd alias (modern find replacement) | |
| 23 | - | if command -v fd &> /dev/null; then | |
| 24 | - | alias find='fd' | |
| 25 | - | fi | |
| 26 | - | ||
| 27 | - | # Directories | |
| 28 | - | alias ..='cd ..' | |
| 29 | - | alias ...='cd ../..' | |
| 30 | - | alias ....='cd ../../..' | |
| 31 | - | ||
| 32 | - | # Git shortcuts | |
| 33 | - | alias g='git' | |
| 34 | - | alias gs='git status' | |
| 35 | - | alias ga='git add' | |
| 36 | - | alias gc='git commit' | |
| 37 | - | alias gp='git push' | |
| 38 | - | alias gl='git log --oneline --graph --decorate' | |
| @@ -1,38 +0,0 @@ | |||||
| 1 | - | # Eza aliases (modern ls replacement) | |||
| 2 | - | if command -v eza &> /dev/null; then | |||
| 3 | - | alias ls='eza -lh --group-directories-first --icons=auto' | |||
| 4 | - | alias lsa='ls -a' | |||
| 5 | - | alias lt='eza --tree --level=2 --long --icons --git' | |||
| 6 | - | alias lta='lt -a' | |||
| 7 | - | alias ll='eza -l --icons=auto' | |||
| 8 | - | alias la='eza -la --icons=auto' | |||
| 9 | - | fi | |||
| 10 | - | ||||
| 11 | - | # Bat + FZF integration | |||
| 12 | - | if command -v bat &> /dev/null && command -v fzf &> /dev/null; then | |||
| 13 | - | alias ff="fzf --preview 'bat -n --color=always {}' --preview-window right:60%:wrap" | |||
| 14 | - | fi | |||
| 15 | - | ||||
| 16 | - | # Bat aliases | |||
| 17 | - | if command -v bat &> /dev/null; then | |||
| 18 | - | alias cat='bat -pp' | |||
| 19 | - | alias less='bat' | |||
| 20 | - | fi | |||
| 21 | - | ||||
| 22 | - | # Fd alias (modern find replacement) | |||
| 23 | - | if command -v fd &> /dev/null; then | |||
| 24 | - | alias find='fd' | |||
| 25 | - | fi | |||
| 26 | - | ||||
| 27 | - | # Directories | |||
| 28 | - | alias ..='cd ..' | |||
| 29 | - | alias ...='cd ../..' | |||
| 30 | - | alias ....='cd ../../..' | |||
| 31 | - | ||||
| 32 | - | # Git shortcuts | |||
| 33 | - | alias g='git' | |||
| 34 | - | alias gs='git status' | |||
| 35 | - | alias ga='git add' | |||
| 36 | - | alias gc='git commit' | |||
| 37 | - | alias gp='git push' | |||
| 38 | - | alias gl='git log --oneline --graph --decorate' | |||
D install/configs/shell/bashrc +0 -8
| @@ -1,8 +0,0 @@ | |||
| 1 | - | # All the default ArchUp aliases and functions | |
| 2 | - | # (don't mess with these directly, just override them here!) | |
| 3 | - | source ~/.local/share/archup/default/bash/rc | |
| 4 | - | ||
| 5 | - | # Add your own exports, aliases, and functions here. | |
| 6 | - | # | |
| 7 | - | # Make an alias for invoking commands you use constantly | |
| 8 | - | # alias p='python' | |
| @@ -1,8 +0,0 @@ | |||||
| 1 | - | # All the default ArchUp aliases and functions | |||
| 2 | - | # (don't mess with these directly, just override them here!) | |||
| 3 | - | source ~/.local/share/archup/default/bash/rc | |||
| 4 | - | ||||
| 5 | - | # Add your own exports, aliases, and functions here. | |||
| 6 | - | # | |||
| 7 | - | # Make an alias for invoking commands you use constantly | |||
| 8 | - | # alias p='python' | |||
D install/configs/shell/envs +0 -28
| @@ -1,28 +0,0 @@ | |||
| 1 | - | # Bat configuration | |
| 2 | - | if command -v bat &> /dev/null; then | |
| 3 | - | export BAT_THEME="Bleu" | |
| 4 | - | fi | |
| 5 | - | ||
| 6 | - | # FZF configuration | |
| 7 | - | # Note: Do NOT add --preview to FZF_DEFAULT_OPTS as it breaks non-file operations | |
| 8 | - | if command -v fzf &> /dev/null; then | |
| 9 | - | # Source FZF Bleu theme if available | |
| 10 | - | if [ -f "$HOME/.local/share/archup/current/theme/fzf/bleu.sh" ]; then | |
| 11 | - | source "$HOME/.local/share/archup/current/theme/fzf/bleu.sh" | |
| 12 | - | fi | |
| 13 | - | ||
| 14 | - | # CTRL-T file/directory picker options | |
| 15 | - | if command -v bat &> /dev/null; then | |
| 16 | - | export FZF_CTRL_T_OPTS="--preview 'bat -n --color=always {}' --preview-window right:60%:wrap" | |
| 17 | - | fi | |
| 18 | - | ||
| 19 | - | # ALT-C directory navigation options | |
| 20 | - | if command -v tree &> /dev/null; then | |
| 21 | - | export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -200' --preview-window right:60%:wrap" | |
| 22 | - | fi | |
| 23 | - | fi | |
| 24 | - | ||
| 25 | - | # Initialize dircolors for bash-completion and ls colors | |
| 26 | - | if command -v dircolors &> /dev/null; then | |
| 27 | - | eval "$(dircolors -b)" | |
| 28 | - | fi | |
| @@ -1,28 +0,0 @@ | |||||
| 1 | - | # Bat configuration | |||
| 2 | - | if command -v bat &> /dev/null; then | |||
| 3 | - | export BAT_THEME="Bleu" | |||
| 4 | - | fi | |||
| 5 | - | ||||
| 6 | - | # FZF configuration | |||
| 7 | - | # Note: Do NOT add --preview to FZF_DEFAULT_OPTS as it breaks non-file operations | |||
| 8 | - | if command -v fzf &> /dev/null; then | |||
| 9 | - | # Source FZF Bleu theme if available | |||
| 10 | - | if [ -f "$HOME/.local/share/archup/current/theme/fzf/bleu.sh" ]; then | |||
| 11 | - | source "$HOME/.local/share/archup/current/theme/fzf/bleu.sh" | |||
| 12 | - | fi | |||
| 13 | - | ||||
| 14 | - | # CTRL-T file/directory picker options | |||
| 15 | - | if command -v bat &> /dev/null; then | |||
| 16 | - | export FZF_CTRL_T_OPTS="--preview 'bat -n --color=always {}' --preview-window right:60%:wrap" | |||
| 17 | - | fi | |||
| 18 | - | ||||
| 19 | - | # ALT-C directory navigation options | |||
| 20 | - | if command -v tree &> /dev/null; then | |||
| 21 | - | export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -200' --preview-window right:60%:wrap" | |||
| 22 | - | fi | |||
| 23 | - | fi | |||
| 24 | - | ||||
| 25 | - | # Initialize dircolors for bash-completion and ls colors | |||
| 26 | - | if command -v dircolors &> /dev/null; then | |||
| 27 | - | eval "$(dircolors -b)" | |||
| 28 | - | fi | |||
D install/configs/shell/init +0 -15
| @@ -1,15 +0,0 @@ | |||
| 1 | - | # Starship prompt - use centralized theme symlink | |
| 2 | - | if command -v starship &> /dev/null; then | |
| 3 | - | export STARSHIP_CONFIG="$HOME/.local/share/archup/themes/current/starship.toml" | |
| 4 | - | eval "$(starship init bash)" | |
| 5 | - | fi | |
| 6 | - | ||
| 7 | - | # Zoxide (smarter cd) | |
| 8 | - | if command -v zoxide &> /dev/null; then | |
| 9 | - | eval "$(zoxide init bash)" | |
| 10 | - | fi | |
| 11 | - | ||
| 12 | - | # FZF fuzzy finder | |
| 13 | - | if command -v fzf &> /dev/null; then | |
| 14 | - | eval "$(fzf --bash)" | |
| 15 | - | fi | |
| @@ -1,15 +0,0 @@ | |||||
| 1 | - | # Starship prompt - use centralized theme symlink | |||
| 2 | - | if command -v starship &> /dev/null; then | |||
| 3 | - | export STARSHIP_CONFIG="$HOME/.local/share/archup/themes/current/starship.toml" | |||
| 4 | - | eval "$(starship init bash)" | |||
| 5 | - | fi | |||
| 6 | - | ||||
| 7 | - | # Zoxide (smarter cd) | |||
| 8 | - | if command -v zoxide &> /dev/null; then | |||
| 9 | - | eval "$(zoxide init bash)" | |||
| 10 | - | fi | |||
| 11 | - | ||||
| 12 | - | # FZF fuzzy finder | |||
| 13 | - | if command -v fzf &> /dev/null; then | |||
| 14 | - | eval "$(fzf --bash)" | |||
| 15 | - | fi | |||
D install/configs/shell/rc +0 -4
| @@ -1,4 +0,0 @@ | |||
| 1 | - | source ~/.local/share/archup/default/bash/shell | |
| 2 | - | source ~/.local/share/archup/default/bash/init | |
| 3 | - | source ~/.local/share/archup/default/bash/aliases | |
| 4 | - | source ~/.local/share/archup/default/bash/envs | |
| @@ -1,4 +0,0 @@ | |||||
| 1 | - | source ~/.local/share/archup/default/bash/shell | |||
| 2 | - | source ~/.local/share/archup/default/bash/init | |||
| 3 | - | source ~/.local/share/archup/default/bash/aliases | |||
| 4 | - | source ~/.local/share/archup/default/bash/envs | |||
D install/configs/shell/shell +0 -19
| @@ -1,19 +0,0 @@ | |||
| 1 | - | # History control | |
| 2 | - | shopt -s histappend | |
| 3 | - | HISTCONTROL=ignoreboth | |
| 4 | - | HISTSIZE=32768 | |
| 5 | - | HISTFILESIZE="${HISTSIZE}" | |
| 6 | - | ||
| 7 | - | # Bash completion (official recommendation from bash-completion project) | |
| 8 | - | [[ $PS1 && ! ${BASH_COMPLETION_VERSINFO:-} && -f /usr/share/bash-completion/bash_completion ]] && \ | |
| 9 | - | . /usr/share/bash-completion/bash_completion | |
| 10 | - | ||
| 11 | - | # Enable colored completion output | |
| 12 | - | if [[ -n "$LS_COLORS" ]]; then | |
| 13 | - | bind 'set colored-completion-prefix on' | |
| 14 | - | bind 'set colored-stats on' | |
| 15 | - | fi | |
| 16 | - | ||
| 17 | - | # Set complete path | |
| 18 | - | export PATH="$HOME/.local/bin:$PATH" | |
| 19 | - | set +h | |
| @@ -1,19 +0,0 @@ | |||||
| 1 | - | # History control | |||
| 2 | - | shopt -s histappend | |||
| 3 | - | HISTCONTROL=ignoreboth | |||
| 4 | - | HISTSIZE=32768 | |||
| 5 | - | HISTFILESIZE="${HISTSIZE}" | |||
| 6 | - | ||||
| 7 | - | # Bash completion (official recommendation from bash-completion project) | |||
| 8 | - | [[ $PS1 && ! ${BASH_COMPLETION_VERSINFO:-} && -f /usr/share/bash-completion/bash_completion ]] && \ | |||
| 9 | - | . /usr/share/bash-completion/bash_completion | |||
| 10 | - | ||||
| 11 | - | # Enable colored completion output | |||
| 12 | - | if [[ -n "$LS_COLORS" ]]; then | |||
| 13 | - | bind 'set colored-completion-prefix on' | |||
| 14 | - | bind 'set colored-stats on' | |||
| 15 | - | fi | |||
| 16 | - | ||||
| 17 | - | # Set complete path | |||
| 18 | - | export PATH="$HOME/.local/bin:$PATH" | |||
| 19 | - | set +h | |||
D install/configs/shell/starship.toml +0 -24
| @@ -1,24 +0,0 @@ | |||
| 1 | - | # Arch-inspired blue color scheme | |
| 2 | - | add_newline = true | |
| 3 | - | ||
| 4 | - | [username] | |
| 5 | - | show_always = true | |
| 6 | - | style_user = "fg:#87ceeb" | |
| 7 | - | style_root = "fg:#ff6b8a" | |
| 8 | - | format = "[$user]($style) " | |
| 9 | - | ||
| 10 | - | [hostname] | |
| 11 | - | disabled = true | |
| 12 | - | ||
| 13 | - | [directory] | |
| 14 | - | style = "fg:#e8f4f8" | |
| 15 | - | format = "in [$path]($style) " | |
| 16 | - | ||
| 17 | - | [git_branch] | |
| 18 | - | symbol = " " | |
| 19 | - | style = "fg:#6bb6d6" | |
| 20 | - | format = "on [$symbol$branch]($style) " | |
| 21 | - | ||
| 22 | - | [character] | |
| 23 | - | success_symbol = '[❯](fg:#6bb6d6)' | |
| 24 | - | error_symbol = '[✗](fg:#ff6b8a)' | |
| @@ -1,24 +0,0 @@ | |||||
| 1 | - | # Arch-inspired blue color scheme | |||
| 2 | - | add_newline = true | |||
| 3 | - | ||||
| 4 | - | [username] | |||
| 5 | - | show_always = true | |||
| 6 | - | style_user = "fg:#87ceeb" | |||
| 7 | - | style_root = "fg:#ff6b8a" | |||
| 8 | - | format = "[$user]($style) " | |||
| 9 | - | ||||
| 10 | - | [hostname] | |||
| 11 | - | disabled = true | |||
| 12 | - | ||||
| 13 | - | [directory] | |||
| 14 | - | style = "fg:#e8f4f8" | |||
| 15 | - | format = "in [$path]($style) " | |||
| 16 | - | ||||
| 17 | - | [git_branch] | |||
| 18 | - | symbol = " " | |||
| 19 | - | style = "fg:#6bb6d6" | |||
| 20 | - | format = "on [$symbol$branch]($style) " | |||
| 21 | - | ||||
| 22 | - | [character] | |||
| 23 | - | success_symbol = '[❯](fg:#6bb6d6)' | |||
| 24 | - | error_symbol = '[✗](fg:#ff6b8a)' | |||
D install/configs/waybar/config.json +0 -32
| @@ -1,32 +0,0 @@ | |||
| 1 | - | { | |
| 2 | - | "layer": "top", | |
| 3 | - | "position": "top", | |
| 4 | - | "modules-left": ["workspaces", "window"], | |
| 5 | - | "modules-center": ["clock"], | |
| 6 | - | "modules-right": ["idle_inhibitor", "custom/theme", "tray", "network", "pulseaudio", "cpu", "memory"], | |
| 7 | - | "clock": { | |
| 8 | - | "format": "{:%a %b %d %H:%M}" | |
| 9 | - | }, | |
| 10 | - | "cpu": { | |
| 11 | - | "format": "CPU {usage}%" | |
| 12 | - | }, | |
| 13 | - | "memory": { | |
| 14 | - | "format": "MEM {used:0.1f}G" | |
| 15 | - | }, | |
| 16 | - | "network": { | |
| 17 | - | "format-wifi": "{essid} ({signalStrength}%)", | |
| 18 | - | "format-ethernet": "{ifname}", | |
| 19 | - | "format-disconnected": "offline" | |
| 20 | - | }, | |
| 21 | - | "pulseaudio": { | |
| 22 | - | "format": "{volume}%", | |
| 23 | - | "format-muted": "muted" | |
| 24 | - | }, | |
| 25 | - | "custom/theme": { | |
| 26 | - | "format": "\uF186", | |
| 27 | - | "tooltip": "Toggle theme", | |
| 28 | - | "on-click": "~/.config/waybar/scripts/theme-toggle.sh", | |
| 29 | - | "on-click-right": "~/.config/waybar/scripts/theme-toggle.sh", | |
| 30 | - | "interval": 0 | |
| 31 | - | } | |
| 32 | - | } | |
| @@ -1,32 +0,0 @@ | |||||
| 1 | - | { | |||
| 2 | - | "layer": "top", | |||
| 3 | - | "position": "top", | |||
| 4 | - | "modules-left": ["workspaces", "window"], | |||
| 5 | - | "modules-center": ["clock"], | |||
| 6 | - | "modules-right": ["idle_inhibitor", "custom/theme", "tray", "network", "pulseaudio", "cpu", "memory"], | |||
| 7 | - | "clock": { | |||
| 8 | - | "format": "{:%a %b %d %H:%M}" | |||
| 9 | - | }, | |||
| 10 | - | "cpu": { | |||
| 11 | - | "format": "CPU {usage}%" | |||
| 12 | - | }, | |||
| 13 | - | "memory": { | |||
| 14 | - | "format": "MEM {used:0.1f}G" | |||
| 15 | - | }, | |||
| 16 | - | "network": { | |||
| 17 | - | "format-wifi": "{essid} ({signalStrength}%)", | |||
| 18 | - | "format-ethernet": "{ifname}", | |||
| 19 | - | "format-disconnected": "offline" | |||
| 20 | - | }, | |||
| 21 | - | "pulseaudio": { | |||
| 22 | - | "format": "{volume}%", | |||
| 23 | - | "format-muted": "muted" | |||
| 24 | - | }, | |||
| 25 | - | "custom/theme": { | |||
| 26 | - | "format": "\uF186", | |||
| 27 | - | "tooltip": "Toggle theme", | |||
| 28 | - | "on-click": "~/.config/waybar/scripts/theme-toggle.sh", | |||
| 29 | - | "on-click-right": "~/.config/waybar/scripts/theme-toggle.sh", | |||
| 30 | - | "interval": 0 | |||
| 31 | - | } | |||
| 32 | - | } | |||
D install/configs/waybar/theme-toggle.sh +0 -14
| @@ -1,14 +0,0 @@ | |||
| 1 | - | #!/usr/bin/env bash | |
| 2 | - | set -euo pipefail | |
| 3 | - | ||
| 4 | - | current=$(gsettings get org.gnome.desktop.interface color-scheme | tr -d "'") | |
| 5 | - | ||
| 6 | - | if [[ "$current" == "prefer-dark" ]]; then | |
| 7 | - | gsettings set org.gnome.desktop.interface color-scheme default | |
| 8 | - | gsettings set org.gnome.desktop.interface gtk-theme adw-gtk3 | |
| 9 | - | else | |
| 10 | - | gsettings set org.gnome.desktop.interface color-scheme prefer-dark | |
| 11 | - | gsettings set org.gnome.desktop.interface gtk-theme adw-gtk3-dark | |
| 12 | - | fi | |
| 13 | - | ||
| 14 | - | exit 0 | |
| @@ -1,14 +0,0 @@ | |||||
| 1 | - | #!/usr/bin/env bash | |||
| 2 | - | set -euo pipefail | |||
| 3 | - | ||||
| 4 | - | current=$(gsettings get org.gnome.desktop.interface color-scheme | tr -d "'") | |||
| 5 | - | ||||
| 6 | - | if [[ "$current" == "prefer-dark" ]]; then | |||
| 7 | - | gsettings set org.gnome.desktop.interface color-scheme default | |||
| 8 | - | gsettings set org.gnome.desktop.interface gtk-theme adw-gtk3 | |||
| 9 | - | else | |||
| 10 | - | gsettings set org.gnome.desktop.interface color-scheme prefer-dark | |||
| 11 | - | gsettings set org.gnome.desktop.interface gtk-theme adw-gtk3-dark | |||
| 12 | - | fi | |||
| 13 | - | ||||
| 14 | - | exit 0 | |||
D install/mandatory/post-boot/ufw.sh +0 -14
| @@ -1,14 +0,0 @@ | |||
| 1 | - | #!/bin/bash | |
| 2 | - | # Post-boot: Configure UFW (Uncomplicated Firewall) with basic protection | |
| 3 | - | ||
| 4 | - | # Set default policies | |
| 5 | - | ufw --force default deny incoming | |
| 6 | - | ufw --force default allow outgoing | |
| 7 | - | ||
| 8 | - | # Enable UFW | |
| 9 | - | ufw --force enable | |
| 10 | - | ||
| 11 | - | # Enable UFW service to start on boot | |
| 12 | - | systemctl enable ufw.service | |
| 13 | - | ||
| 14 | - | echo "Firewall configured (default deny incoming)" | |
| @@ -1,14 +0,0 @@ | |||||
| 1 | - | #!/bin/bash | |||
| 2 | - | # Post-boot: Configure UFW (Uncomplicated Firewall) with basic protection | |||
| 3 | - | ||||
| 4 | - | # Set default policies | |||
| 5 | - | ufw --force default deny incoming | |||
| 6 | - | ufw --force default allow outgoing | |||
| 7 | - | ||||
| 8 | - | # Enable UFW | |||
| 9 | - | ufw --force enable | |||
| 10 | - | ||||
| 11 | - | # Enable UFW service to start on boot | |||
| 12 | - | systemctl enable ufw.service | |||
| 13 | - | ||||
| 14 | - | echo "Firewall configured (default deny incoming)" | |||
D internal/assets/arch-logo.png +0 -0 binary file: no text diff
binary file: no text diff
M internal/assets/assets.go +0 -3
| @@ -4,6 +4,3 @@ import _ "embed" | |||
| 4 | 4 | ||
| 5 | 5 | //go:embed logo.txt | |
| 6 | 6 | var LogoASCII string | |
| 7 | - | ||
| 8 | - | //go:embed arch-logo.png | |
| 9 | - | var LimineLogo []byte | |
| @@ -4,6 +4,3 @@ import _ "embed" | |||||
| 4 | 4 | ||||
| 5 | //go:embed logo.txt | 5 | //go:embed logo.txt | ||
| 6 | var LogoASCII string | 6 | var LogoASCII string | ||
| 7 | - | ||||
| 8 | - | //go:embed arch-logo.png | |||
| 9 | - | var LimineLogo []byte | |||