Skip to content

tskrynnyk/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My dotfiles templates

Description

This is a collection of configuration file templates. The files are located in a directory structure that allows the use of configuration management tools (e.g. Stow).

$ tree -na ./src
./src
├── X
│   ├── .Xresources
│   ├── .Xresources.d
│   │   └── xterm
│   └── .xsession
├── bash
│   ├── .bashrc
│   └── .git-prompt.sh
├── bspwm
│   └── .config
│       └── bspwm
│           └── bspwmrc
├── clog
│   └── .clogrc
├── ctpv
│   └── .config
│       └── ctpv
│           └── config
├── lf
│   └── .config
│       └── lf
│           ├── inc
│           │   ├── archive-atool.lfrc
│           │   ├── archive-tar_xz.lfrc
│           │   ├── copy_path_to_clipboard.lfrc
│           │   ├── copy_to.lfrc
│           │   ├── delete.lfrc
│           │   ├── edit_config.lfrc
│           │   ├── maps-root.lfrc
│           │   ├── maps-user-xdg.lfrc
│           │   ├── maps-user.lfrc
│           │   ├── preview_with_ctpv.lfrc
│           │   ├── share_in_0x0_st.lfrc
│           │   ├── symlink.lfrc
│           │   ├── unpack.lfrc
│           │   └── xdg-open.lfrc
│           ├── lfrc
│           └── lfrc.local
├── nftables
│   └── etc
│       └── nftables.conf
├── readline
│   └── .inputrc
├── sxhkd
│   └── .config
│       └── sxhkd
│           └── sxhkdrc
├── tmux
│   └── .tmux.conf
└── vim
    ├── .config
    │   └── vim
    │       ├── colors
    │       │   └── tmblack.vim
    │       └── vimrc.local
    └── .vimrc

26 directories, 31 files

The files in src can be used directly for the initial configuration of the programs. make is only for sanitize files (removes empty lines and comments).

Usage

Clone repo

$ mkdir ~/src \
&& cd ~/src \
&& git clone https://gitlab.com/tskr/dotfiles \
&& cd dotfiles
$ ls -1A
.git
.gitignore
Makefile
README.md
config.def.mk
src

Build

Linux:

$ make install

BSD:

$ gmake install
$ ls -1A
.dotfiles
.git
.gitignore
Makefile
README.md
build
config.def.mk
config.mk
src

Change target directory

The default target directory is set in the PREFIX variable (see config.def.mk). To change it set PREFIX, e.g.:

$ make install PREFIX=~/.dotfiles

or create config.mk, e.g.:

$ echo 'PREFIX = ~/.dotfiles' >config.mk

Install

Simple

$ install -m 644 build/bash/.bashrc ~/

stow

What I use?

lf

Instalation

Example:

$ wget https://github.com/gokcehan/lf/releases/download/r25/lf-linux-amd64.tar.gz
tar zxf lf-linux-amd64.tar.gz \
&& rm lf-linux-amd64.tar.gz \
&& mkdir -p ~/.local/bin \
&& mv ./lf ~/.local/bin/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published