Yet another dotfile manager
Project description
What not to expect
A giant pile of features. That being said, this is extensible and will probably get some sort of plugin support.
Future plans
[ ] Plugin support
[ ] World domination
[x] Config directories
How to use the damn thing
Install it:
pip install polkadots-dotfile-manager
For development:
pip install --user -e .
Make a polkadots config directory in .config/polkadots:
Basic example:
~/.config/polkadots/config.py:
actions = [
SymlinkAction('aiopanel', '~/.config/aiopanel'),
SymlinkAction('main', '~', dir_mode=True),
]
~/.config/polkadots/dotfile_repo:
~/.dotfiles
This configuration executes two actions. The first one symlinks the entire aiopanel directory (files are also supported of course).
The second one goes through every item in the “main” folder in the dotfile repo and symlinks them all into the destination directory. For example, the file .vimrc in main would be symlinked to ~/.vimrc.
Run it:
polkadots --config2 -v
Options used:
--config2 – enables the new python-based config format. -2 is an alias for this.
-v – verbose logging
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file polkadots_dotfile_manager-0.0.6.tar.gz
.
File metadata
- Download URL: polkadots_dotfile_manager-0.0.6.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6a1302c3a7511ce200c322b77b22b9caa07e556bf4d79edde30a525040e35ee |
|
MD5 | b535fadaf479d84c81b9a5dc5b467ba2 |
|
BLAKE2b-256 | f23ba683af721bd559bc9de341a07613946bb1be410a6a32367f2cb2e412946c |