Skip to content

Automated dotfiles installer with Ansible

License

Notifications You must be signed in to change notification settings

pfaivre/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Automated dotfiles installer with Ansible (featuring my personal set of dotfiles).

./install.sh

Featuring

Hyprland desktop configuration with a selection of themes

Hyprland desktop

Automated theme switcher

All theme files (css, config, etc.) are gathered in a single folder that is dynamically selected via a symbolic link. This allows to easily change theme and apply it immediately.

~/.config/mydesktop
├── current-theme ------------.
└── themes                    |
    ├── bliss-xp              | symlink
    ├── ocean-dark            |
    ├── summer-day <----------'
    ├── summer-night
    └── ...

The script command-palette.sh Opens a Rofi menu to select a theme and replaces the symlink ~/.config/mydesktop/current-theme accordingly.

Selecting a theme with the command palette

Themes

Theme: Cards Day Theme: Ocean Dark
Theme: Summer Day Theme: Summer Night
Theme: Bliss XP

Credits

How to use it

Start by forking/cloning this repo.

There is 2 things to edit to make this yours:

Then, just execute the script:

./install.sh

How it works

The install.sh script will start by installing Ansible.

Then it will run the main playbook to:

  • apply a set of configurations depending on the platform
  • recursively loop into the "ansible/roles/common-linux/files/home" folder. For each file found, a link will be created in the $HOME directory, keeping its subdirectory structure.

Putting a link for configuration files instead of copying them, allows to re-run the dotfiles installer without erasing the locally modified configurations.

Bonus

Fix-WindowsPrivacy.ps1

If you really have to use Windows, this disables some privacy invasive features of Windows 11.

PS (Admin)> .\Fix-WindowsPrivacy.ps1

Please make sure to check what this script performs before running it on a sensitive machine. I decline any responsibility for a broken system after running this.

Notice: This may have strange side effects like disabling font smoothing and randomly displayng a solid color wallpaper.

Windows console running Fix-WindowsPrivacy.ps1

About

Automated dotfiles installer with Ansible

Topics

Resources

License

Stars

Watchers

Forks

Languages