mirror of https://github.com/Chizi123/Dotfiles.git

Joel Grunbaum
2020-05-31 c40ea650b1bc714d1f3d3ab36254475c356ee6f3
added makefile for restore and README
1 files modified
3 files added
69 ■■■■■ changed files
Makefile 42 ●●●●● patch | view | raw | blame | history
README.org 13 ●●●●● patch | view | raw | blame | history
aspell/.aspell.en.pws 3 ●●●● patch | view | raw | blame | history
ncmpcpp/.ncmpcpp/config 11 ●●●●● patch | view | raw | blame | history
Makefile
New file
@@ -0,0 +1,42 @@
# Targets for install, can be useful to differentiate between user and headless systems
TARGETS = home
ifeq ($(VERBOSE),1)
    Q =
else
    Q = @
endif
# Commands for operation
MKDIR = $(Q)mkdir -p
STOW  = $(Q)stow
SSTOW = $(Q)sudo stow
ECHO  = @echo
INSTALL_TARGETS   = $(TARGETS)
UNINSTALL_TARGETS = $(TARGETS:=-uninstall)
# List of all applications with stored dotfiles
CONFIGS = aspell emacs git libinput-gestures mailcap mpd ncmpcpp rtv shells wallpaper-reddit zsh
all: help
.PHONY: $(CONFIGS)
$(CONFIGS):
    $(STOW) -t $(HOME) $@
.PHONY: $(CONFIGS:=-del)
$(CONFIGS:=-del):
    $(STOW) --delete -t $(HOME) $(@:-del=)
.PHONY: $(INSTALL_TARGETS)
$(INSTALL_TARGETS): $(CONFIGS)
.PHONY: $(UNINSTALL_TARGETS)
$(UNINSTALL_TARGETS): $(CONFIGS:=-del)
.PHONY: help
help:
    $(ECHO) 'use make "target"'
    $(ECHO) 'targets:'
    $(ECHO)    '    home(-uninstall)'
README.org
New file
@@ -0,0 +1,13 @@
#+TITLE:My dotfiles
#+AUTHOR:Joel Grunbaum
Pretty straightforward dotfiles for my programs.
This is pretty much only for the programs where I have changed the dotfiles or they require generated ones.
There is also my Aspell dictionary, which should be periodically updated.
My Emacs config is linked to from here to its own repository.
I would suggest making sure it is the latest version if you choose to use it.
The dotfiles are managed using GNU Stow and can be restored using make.
Just use ~make home~ to set up the files.
Credit to Peter Zuger for the idea, his dotfiles can be found [[https://gitlab.com/peterzuger/dotfiles][here]].
aspell/.aspell.en.pws
@@ -1,9 +1,10 @@
personal_ws-1.1 en 19
personal_ws-1.1 en 20
DNS
FPGA
GPIO
Grunbaum
SODIMM
config
fortifiable
impedances
inductor
ncmpcpp/.ncmpcpp/config
New file
@@ -0,0 +1,11 @@
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "my_fifo"
visualizer_sync_interval = "30"
visualizer_in_stereo = "yes"
visualizer_type = "spectrum"
visualizer_look = "+|"
mpd_music_dir = "~/Music"
mpd_host = "localhost"
mpd_port = "6600"