Replies: 1 comment
-
Let's just support the old file path if it exists. Basically the script will check for the old file path, if it exists. This is better than adding hyprdots branding, as hyprdots was already renamed HyDE a year ago. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Written with the help of Deepseek-R1 😅,
Hi! For users migrating from prasanthrangan/hyprdots, could we add a script to automatically migrate their existing clipboard favorites to the new HyDE-compatible location?
Proposal
A small script that:
Checks for the old favorites file at ~/.cliphist_favorites.
Creates the new directory structure (~/.cache/hyde/landing/) if missing.
Decodes & re-encodes entries (to ensure compatibility with any formatting changes).
Moves the file to ~/.cache/hyde/landing/cliphist_favorites with proper permissions.
Example Script
Why This Matters
Smoother Transitions: Users won’t lose their curated clipboard favorites when switching configurations.
Backward Compatibility: Respects existing data from a popular Hyprland setup.
Safety: Re-encoding ensures entries match the expected format, avoiding edge cases (e.g., multi-line or binary data).
Additional Notes
User Notification: Add a one-time popup (notify-send) or log entry to inform users the migration occurred.
Documentation: Briefly mention this in the README or Wiki for visibility.
Beta Was this translation helpful? Give feedback.
All reactions