Skip to content

yohannd1/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,447 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to my dotfiles repo!

This repository contains most of my the config files I've decided to make public. It also contains a whole lot of scripts.

dependencies

installation

This repo is unstable, as I keep changing it constantly. I really recommend taking a look only at files that interest you instead of simply copying everything because not only it is very unsafe due to most scripts here being pretty buggy, but also because I believe it's better to only add to your system things that you understand.

And it might also brick things! No guarantee, so please backup your system.

If you want to do it anyway, though (or if you're me! I do this to bootstrap the dotfiles on a new machine), you can do:

curl https://raw.githubusercontent.com/yohannd1/dotfiles/master/install.bash > install.bash
cat install.bash # check it out before running...
bash install.bash https $path_to_dotfiles

folder structure

  • config: config files, mostly symlinked to ~ and ~/.config.

  • desktop: .desktop files so some apps (mostly browsers) can respect my program choices.

  • lib: personal libraries for use with some scripting languages.

  • patches: some patches I usually would like to apply on a system. I currently have no way to automate this.

  • pkgbuilds: some pkgbuilds to install packages I use... kinda like a personal AUR I guess

  • scripts: executable files, added to PATH via env.sh.

  • share: other generic resources

  • .trash: old files that I don't want to delete right now, but aren't being used in the repo. Might be unavailable if empty (due to how git works).

inspirations (and steals)

The repos below are the ones I remember stealing code taking inspiration from to build this. There are lots of more places that inspired and helped me, though - from r/unixporn screenshots to random stackoverflow discussions - and even though I can't possibly remember them all, I'd like to thank them. It has been a pretty cool experience to make my own "operating system", to an extent.

to do

  • Make a system-agnostic local package builder (it needs to generate pacman & apt packages);

  • Be more explicit about dependencies (see TODO file...);

  • Update license (I like WTFYWPL but CC0 would probably be more explicit; also, I have some code here that is from other repos, namely vim-plug and z.lua - I need to talk about them!);

script naming

Since there is pretty much one global namespace for all scripts (the $PATH, I mean), I like to prefix some scripts. I'm thinking of a prefix scheme that is very short (for small command names) but still understandable, so here's an attempt:

  • d. for "dotfiles-local" tools (currently it's mostly dotf.);

  • s. for "service-providers" - a series of wrappers that decide which underlying command to run based on the WM/DE (currently it's mostly dotf.wrap. - what a mouthful...);

  • f. for "filters" - programs to which you can feed data to stdin, and they will do something with it, then give you the result through stdout. Useful for text processing.

  • @ for wrapper scripts for apps that have trouble launching or I like to set up particularly (e.g. Steam, since I like it to start up silently and log into a specific file);

  • , for local scripts, which I store in a separate (private) repo;

base16

Not sure where to put this, but the place it was in before wasn't appropriate either. I got this from somewhere - maybe the official base16 specs?

- base00 - Default Background
- base01 - Lighter Background (Used for status bars)
- base02 - Selection Background
- base03 - Comments, Invisibles, Line Highlighting
- base04 - Dark Foreground (Used for status bars)
- base05 - Default Foreground, Caret, Delimiters, Operators
- base06 - Light Foreground
- base07 - Light Background
- base08 - Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
- base09 - Integers, Boolean, Constants, XML Attributes, Markup Link Url
- base0A - Classes, Markup Bold, Search Text Background
- base0B - Strings, Inherited Class, Markup Code, Diff Inserted
- base0C - Support, Regular Expressions, Escape Characters, Markup Quotes
- base0D - Functions, Methods, Attribute IDs, Headings
- base0E - Keywords, Storage, Selector, Markup Italic, Diff Changed
- base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>