Skip to content

[Proposal] Home Directory Reorganization Script & Legacy Folders Cleanup #190

@mrvictor22

Description

@mrvictor22

Context

I've been using ArchEclipse for several months and noticed that having $HOME as the repository root causes some organizational challenges:

  1. Personal files mix with rice files - Documents, Downloads, cache files can accidentally end up in the repo
  2. Legacy config folders - Several folders exist that are no longer actively used (replaced by AGS)
  3. New users confusion - It's unclear which folders are essential vs legacy

I'm willing to work on a robust solution for this, but I wanted to confirm a few things with you first before investing time in the implementation.


Analysis Performed

I did a complete audit of the home directory structure. Here's what I found:

Folders Tracked by Git (in ~/)

Folder Files Currently Used? Notes
~/wofi/ 5 ❌ (AGS app-launcher) Legacy launcher config
~/wofifull/ 4 Legacy launcher variant
~/mako/ 6+ Legacy notifications (AGS handles this)
~/swaylock/ 1 ❌ (hyprlock) Legacy lock screen
~/waybar/ 5 ❌ (AGS) Legacy status bar
~/waybarBackUp/ 11 Backup of legacy bar
~/themes/ 4 Catppuccin themes - active
~/scripts/ 24 Rice scripts - active
~/configs/ 6 Base configs - active

Current Tools vs Legacy Configs

Function Legacy Config Current Tool Status
App Launcher ~/wofi/, ~/wofifull/ AGS AGS active
Notifications ~/mako/ AGS AGS active
Lock Screen ~/swaylock/ hyprlock hyprlock installed
Status Bar ~/waybar/ AGS AGS active

Questions Before I Start Working

  1. Legacy folders: Can we safely remove waybar/, waybarBackUp/, wofi/, wofifull/, mako/, swaylock/ from the repo since they're no longer used? Or should they stay for users who want alternatives to AGS?

  2. Post-install reorganization script: Would you be interested in a reorganize-home.sh script that helps users organize their home directory after installation? It could:

    • Create standard XDG folders (~/Documents/, ~/Downloads/, etc.)
    • Move personal files to appropriate locations
    • Clean up cache files
    • Verify the installation is working
  3. Documentation: Should we add a section to README explaining which folders are essential vs optional/legacy?


What I've Already Done (My Fork)

I reorganized my installation in 5 phases and documented everything:

Phase Action Result
1 Cache cleanup +27GB recovered
2 Personal files organization Moved to ~/Documents/
3 Config consolidation Verified no duplicates
4 Legacy folders analysis Identified unused folders
5 .gitignore documentation Added comments explaining structure

Proposed Solution (If Approved)

I can create a reorganize-home.sh script that:

#!/bin/bash
# 1. Create XDG directories
mkdir -p ~/Documents/{guides,backups}
mkdir -p ~/.local/bin

# 2. Offer to clean caches (interactive)
# 3. Move common misplaced files
# 4. Verify rice is working
# 5. Show summary of changes

Environment

  • Fork: mrvictor22/ArchEclipse
  • Arch Linux with Hyprland
  • AGS 3.0 for bars/launcher/notifications
  • hyprlock for screen locking

Looking forward to your feedback before I start working on the implementation! 🚀

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions