DEV Community

Discussion on: How I automate my OS 💻

Collapse
 
juliani profile image
Julian Iaquinandi

Thanks! I feel like my career in automating all the things is just beginning! 😉

No worries for posting your project, I've tried implementing something similar to what you are proposing with drifter.

I've settled on syncing everything via Github. I have a couple of bash scripts that either pull new changes in or push them back to the repo. So when changing a dotfile I run the appropriate script. My next step was to add some sort of file watcher to do this automatically but haven't got round to it.

For installs I have a bash script that generates a menu from the names of files in a scripts folder. I generally write a bash script for each package to install and can pick and choose what to install in the script.

For VSCode I use Settings Sync which I'm more than happy with but I am interested in integrating this into my script.

Have a look at my repo Linux Tools, most of the good stuff is in the installs folder. It's nothign special but it works for me!

Collapse
 
itlackey profile image
IT Lackey

That is great stuff!! It seems like our approach is more similar that I even thought originally. Basically drifter just adds a layer on top of what you are doing to help package the scripts for each app so it can be easily shared and used by others similar to npm, apt or package manager x. I started down that road for my own organization and sanity and then added the idea of syncing the associated configurations along with the app packages.
In theory this could provide the same feature as windows 10s setting synchronization but across all machines/OSes.
Anyway, I can rant all day about this stuff. So I will just say if you or anyone is interested in working together to make something like this please contact me. I'd love to work together with other automation junkies and am not opposed to ditching my project to contribute to something else that solves the same problem.