Git Product home page Git Product logo

dotfiles's Introduction

๐Ÿฅถ Dripfiles


My dotfiles across my linux, windows and wsl environments

๐ŸงŠ Tool specific documentation are in their respective subdirectories


Setup

These dotfiles are managed by dotter. Its configuration folder is .dotter

  • global.toml - Configuration for all packages
  • linux/wsl/windows.toml - Configuration for "profiles" that contain the relevant packages
# AUR
yay -S dotter-rs-bin

# Cargo
cargo install dotter

II. Apply

First either choose a profile or create your own, read here.
After this, run:

dotter deploy -l .dotter/profiles/<profile>.toml

Note: --force flag may be required if you have existing files as these need to be replaced. Check conflicts with the -d flag


Profiles and themes

These dotfiles are managed by dotter. In the .dotter file you will find a collection of .toml files.

.dotter
โ”œโ”€โ”€ global.toml
โ”œโ”€โ”€ profiles
โ””โ”€โ”€ themes

Inside profiles each .toml file is a profile of structure:

includes = [] # These are like "imports" to configure package's variables and file mappings
packages = [] # A list of packages you want to include the dotfiles for

[files] # Table of any further file mapping changes

[varaibles] # Table of any further variable updates

A profile must include a theme .toml if the packages it uses have dynamic theming.

Inside themes each .toml file is a theme of structure:

[colors.variable.colors] # A mapping of names to colors of your palette
"green" = "#00ff00"

[<package>.variables] # A table of specific color variables a package needs mapped to a color in the palette
text_color = "green"

As you can see theme files just set variables on the original packages defined in global.toml. This is why you put them in the includes array in your profile.

Feel free to use an existing profile as a base and modify it to what packages are needed and what theme is wanted. Making your own theme is easy, either modify an existing one and change the colors from the palette base, or create your own base and update the usages accordingly in each of the packages variables

Note: Theming will change in the future, I wish to separate theme 'bases' and 'palettes`


Features

๐Ÿ—๏ธ Incomplete list...

  • Shell script for easier setup
  • Hyprland
    • Keybinds
    • Window rules
    • Documentation
  • Status Bar
  • Control Panel
  • Fish
  • Alacritty complete
  • Locking & Powermenu complete
  • Wofi complete
  • Clipboard management complete
  • Screenshot utilities complete
  • Neovim complete

dotfiles's People

Contributors

ahmedmahmud avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.