From c40ea650b1bc714d1f3d3ab36254475c356ee6f3 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Sun, 31 May 2020 13:59:30 +0000 Subject: [PATCH] added makefile for restore and README --- README.org | 13 ++++++ aspell/.aspell.en.pws | 3 + Makefile | 42 +++++++++++++++++++++ ncmpcpp/.ncmpcpp/config | 11 +++++ 4 files changed, 68 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..690ec6d --- /dev/null +++ b/Makefile @@ -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)' diff --git a/README.org b/README.org new file mode 100644 index 0000000..37be105 --- /dev/null +++ b/README.org @@ -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]]. diff --git a/aspell/.aspell.en.pws b/aspell/.aspell.en.pws index af7aeae..40e38d4 100644 --- a/aspell/.aspell.en.pws +++ b/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 diff --git a/ncmpcpp/.ncmpcpp/config b/ncmpcpp/.ncmpcpp/config new file mode 100644 index 0000000..e7e4522 --- /dev/null +++ b/ncmpcpp/.ncmpcpp/config @@ -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" + -- Gitblit v1.9.3