Git Product home page Git Product logo

dotfiles's Introduction

Dotfiles

This repository contains my personal dotfiles managed with GNU stow.

This repo is not meant to be used verbatim. These are my personal dotfiles and they only work for my setup. But if you are crafting your own dotfiles, you might find one or two interesting things in here.

Features:

  • Terminal configs - Setup to try and be as modular and compatible as possible. More Information below.
  • beets configuration
  • deadbeef configuration
  • git - git configuration and alias, as well as global ignore file
  • mpv configuration
  • Nautilus a.k.a Files (Simple File Manager for GNOME) - Currently contains file templetes for use in the right click context menu
  • vim configuration
  • x11 configuration
  • xdg configuration for mimetypes and user directories
  • Fonts
  • Scripts - Bunch of scripts for various uses. So are my own, others are sourced from aroud the internet
  • External Device Configuratiosn - These are configurations for devices where sing GNU Stow isn't a viable option but version control of the configurations would still be useful
    • Switch - Configration Files for Atmosphere CFW, Hekate Bootloader, and other misc homebrew.

Installation

GNU stow is very easy to use. For each directory in this repo, you simply call:

stow <directory>

If dotfiles are kept somewhere like $HOME/dotfiles

or

stow -t ~/ -D <directory>

If dotfiles are kept in some sub folder like %HOME/Projects/dotfiles

Terminal configuration

My terminal configuration is split up into shell specific and none shell specific configurations.

TL;DR: Shell stuff gets sourced in this order:

  • .profilesh compatible login script, kept minimal
    • .environsh compatible environment variables & umask
    • .bashrc if running in bash
    • .environ if it wasn't sourced yet
  • .xprofile - X11 login script after profile

The .environ file is intended to be safe to source from anywhere, including .bashrc – that way it also applies to ssh $host $command (which only uses .bashrc and not .profile).

.xinitrc

Does the same as a display manager's Xsession script would do: sets $DESKTOP_SESSION; sources .profile, .xprofile; loads .Xresources and .Xkbmap. (Also sets a default background.)

.xprofile

Loads .Xresources and .Xkbmap from alternate paths.

Sets up session environment – shared between all DMs and xinit. Currently – kernel keyring, synaptics.

If $DESKTOP_SESSION is empty (a bare WM is being started), starts necessary daemons: compositor, notification daemon, polkit agent, screensaver, systemd-logind lock event handler, xbindkeys.

Also starts misc. daemons that are X11-dependent and per-session.

All my terminal configuaritions are heavily based on this superuser answer and grawity's dotfiles.

dotfiles's People

Contributors

hackingpheasant avatar

Watchers

James Cloos 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.