2022-03-03 10:12:05 +01:00
|
|
|
MODULES=xmodmap emacs xdg shepherd dunst zsh mcron mbsync nyxt work \
|
2022-07-02 03:55:02 +02:00
|
|
|
herbstluftwm mpd polybar xbindkeys firefox
|
2022-01-14 09:13:00 +01:00
|
|
|
|
|
|
|
STOW = stow
|
|
|
|
EMACS = emacs
|
|
|
|
SCHEME_IMPLEMENTATION = guile
|
2022-07-02 03:55:02 +02:00
|
|
|
# Found this sed command here: https://stackoverflow.com/a/40778047
|
|
|
|
FIREFOX_PROFILE := $(shell sed -nr "/^Name=default/ { :l /^Path=/ { s/[^=]*=[ ]*//; p; q; }; n; b l; }" ~/.mozilla/firefox/profiles.ini 2>/dev/null)
|
2022-01-14 09:13:00 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
.PRECIOUS: %.el
|
|
|
|
|
2022-01-14 09:13:00 +01:00
|
|
|
define tangle =
|
|
|
|
@echo -e "\e[35mOBT\e[0m" $<
|
|
|
|
@$(EMACS) -quick -batch \
|
|
|
|
-eval "(package-initialize)" \
|
|
|
|
-load ob-tangle \
|
|
|
|
-eval "(setq sh-make-vars-local nil)" \
|
|
|
|
-eval "(setq geiser-default-implementation '$(SCHEME_IMPLEMENTATION))" \
|
|
|
|
-eval "(org-babel-tangle-file \"$<\" \"$(PWD)/$@\" \"$(1)\")"
|
|
|
|
endef
|
2017-04-03 05:22:36 +02:00
|
|
|
|
|
|
|
.PHONY: all clean $(MODULES) zsh
|
|
|
|
|
|
|
|
all: $(MODULES)
|
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
install: $(addsuffix -stow,$(MODULES))
|
|
|
|
clean: $(addsuffix -clean,$(MODULES))
|
2017-04-03 05:22:36 +02:00
|
|
|
|
2020-05-10 08:52:46 +02:00
|
|
|
before-%-install: # Dummy recipe
|
|
|
|
@true
|
|
|
|
|
|
|
|
%-stow: % before-%-install
|
2020-04-27 05:58:39 +02:00
|
|
|
$(STOW) $<
|
2020-04-25 05:49:40 +02:00
|
|
|
|
2020-05-10 08:52:46 +02:00
|
|
|
%-install: %-stow # Dummy recipe
|
|
|
|
@true
|
|
|
|
|
2020-04-25 05:49:40 +02:00
|
|
|
%-uninstall:
|
|
|
|
$(STOW) -D $(subst -uninstall,,$@)
|
2018-01-09 06:16:02 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
## Picom
|
2017-06-22 09:07:28 +02:00
|
|
|
|
2020-04-27 01:12:05 +02:00
|
|
|
picom: picom/.config/picom.conf
|
2017-06-22 09:07:28 +02:00
|
|
|
|
2020-04-27 01:12:05 +02:00
|
|
|
picom/.config/picom.conf: picom/.config/picom.org
|
2017-06-22 09:07:28 +02:00
|
|
|
$(call tangle,conf)
|
|
|
|
|
2020-04-27 01:12:05 +02:00
|
|
|
picom-clean:
|
|
|
|
rm -f picom/.config/picom.conf
|
2017-06-22 09:07:28 +02:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
## Emacs
|
2017-04-03 05:52:42 +02:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
emacs: emacs/.config/shepherd/init.d/emacs.scm emacs/.config/emacs/init.elc
|
2020-05-10 08:52:46 +02:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
emacs-clean:
|
|
|
|
rm -f emacs/.config/shepherd/init.d/emacs.scm emacs/.config/emacs/init.el \
|
|
|
|
emacs/.config/emacs/init.elc
|
2017-04-03 05:22:36 +02:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
## Xmodmap
|
2017-04-03 05:22:36 +02:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
xmodmap: xmodmap/.Xmodmap
|
2017-04-03 05:22:36 +02:00
|
|
|
|
|
|
|
xmodmap-clean:
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
rm -f xmodmap/.Xmodmap
|
2017-04-03 05:22:36 +02:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
## Cower
|
2018-01-09 05:48:18 +01:00
|
|
|
|
|
|
|
cower: cower/.config/cower/config
|
|
|
|
|
|
|
|
cower/.config/cower/config: cower/.config/cower/config.org
|
|
|
|
$(call tangle,conf-unix)
|
|
|
|
|
|
|
|
cower-clean:
|
|
|
|
rm -f cower/.config/cower/config
|
2018-01-09 06:21:01 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
## Mowedline
|
2018-01-09 06:21:01 +01:00
|
|
|
|
|
|
|
mowedline: mowedline/.config/mowedline/init.scm
|
|
|
|
|
|
|
|
mowedline/.config/mowedline/init.scm: SCHEME_IMPLEMENTATION = chicken
|
|
|
|
mowedline/.config/mowedline/init.scm: mowedline/.config/mowedline/init.org
|
|
|
|
$(call tangle,scheme)
|
|
|
|
|
|
|
|
mowedline-clean:
|
|
|
|
rm -f mowedline/.config/mowedline/init.scm
|
2018-01-09 07:33:43 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
## Dunst
|
2018-01-09 07:33:43 +01:00
|
|
|
|
2022-03-03 10:14:52 +01:00
|
|
|
dunst: dunst/.config/dunst/dunstrc dunst/.config/shepherd/init.d/dunst.scm
|
2018-01-09 07:33:43 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
## X11
|
2020-04-27 06:35:26 +02:00
|
|
|
|
|
|
|
x11-install: lib-install x11/dot-x11-0-1-any.pkg.tar.xz
|
|
|
|
|
|
|
|
x11/dot-x11-0-1-any.pkg.tar.xz: x11/PKGBUILD
|
|
|
|
cd x11 && makepkg -sicf
|
2021-11-18 05:45:40 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
## XDG
|
2021-11-18 05:45:40 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
xdg: xdg/.config/mimeapps.list xdg/.config/user-dirs.dirs \
|
|
|
|
xdg/.config/user-dirs.locale
|
2022-01-14 09:13:00 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
# These files shouldn't be stowed because the applications managing/using them
|
|
|
|
# immediately replace the symbolic links with new files and the settings in them
|
|
|
|
# are lost.
|
|
|
|
xdg-stow:
|
|
|
|
cp xdg/.config/mimeapps.list xdg/.config/user-dirs.dirs xdg/.config/user-dirs.locale $(HOME)/.config/
|
2022-01-14 09:13:00 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
## Shepherd
|
2022-01-14 09:13:00 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
shepherd: shepherd/.config/shepherd/init.scm
|
2022-01-14 09:13:00 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
## Mcron
|
2022-01-14 09:13:00 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
mcron: mcron/.config/shepherd/init.d/mcron.scm
|
2022-01-14 09:13:00 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
## Mbsync
|
|
|
|
|
|
|
|
mbsync: mbsync/.config/cron/mbsync.guile
|
|
|
|
|
|
|
|
## ZSH
|
2021-11-18 05:45:40 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
zsh: zsh/.profile zsh/.zshrc zsh/.zsh/functions/unzip.zwc \
|
|
|
|
zsh/.zsh/functions/x-yank.zwc zsh/.zsh/functions/x-copy-region-as-kill.zwc
|
|
|
|
|
2022-01-31 09:51:03 +01:00
|
|
|
## Nyxt
|
|
|
|
|
|
|
|
nyxt: nyxt/.config/nyxt/init.lisp
|
|
|
|
|
2022-07-02 03:55:02 +02:00
|
|
|
## Firefox
|
|
|
|
|
|
|
|
ifneq ($(FIREFOX_PROFILE),)
|
|
|
|
firefox: firefox/.mozilla/firefox/$(FIREFOX_PROFILE)/chrome/userChrome.css
|
|
|
|
|
|
|
|
firefox/.mozilla/firefox/$(FIREFOX_PROFILE)/chrome/userChrome.css: firefox/src/userChrome.css
|
|
|
|
mkdir -p $$(dirname $@)
|
|
|
|
cp $^ $@
|
|
|
|
else
|
|
|
|
firefox:
|
|
|
|
@echo "Error finding firefox default profile, can't make" >&2
|
|
|
|
firefox-stow:
|
|
|
|
@echo "Error finding firefox default profile, can't stow" >&2
|
|
|
|
endif
|
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
## Helper
|
2021-11-18 05:45:40 +01:00
|
|
|
|
2022-01-14 09:13:00 +01:00
|
|
|
%.el: %.org
|
|
|
|
$(call tangle,emacs-lisp)
|
|
|
|
|
|
|
|
%.elc: %.el
|
|
|
|
@echo -e "\e[36mELC\e[0m" $<
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
$(EMACS) -batch -f package-initialize -f batch-byte-compile $<
|
2022-01-14 09:13:00 +01:00
|
|
|
|
2021-11-18 05:45:40 +01:00
|
|
|
%: %.org
|
|
|
|
$(call tangle)
|
2022-01-14 09:13:00 +01:00
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
.%: %.org
|
|
|
|
$(call tangle)
|
|
|
|
|
|
|
|
%.zwc: %
|
|
|
|
zsh -c "zcompile $@ $^"
|
|
|
|
|
2022-07-23 06:12:45 +02:00
|
|
|
check:
|
|
|
|
$(SCHEME_IMPLEMENTATION) --no-auto-compile test.scm
|
|
|
|
|
2024-11-23 08:42:12 +01:00
|
|
|
new-dotfiles:
|
|
|
|
|
Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.
- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
the ‘.el’ file isn't just an intermediate file and should not be deleted.
- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
up for each module.
- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
to that configuration.
- Stop using the ‘build/’ directory, tangle all the files to the same directory
as the source files, and use stow, not cp, to install them. The only exception
is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
necessary because programs using these files will overwrite a symbolic link
they find and replace it with a new file, overwriting my settings.
- Add some files that were missing, and rename some files to follow the existing
convention to make them easy to tangle.
2022-01-31 08:12:22 +01:00
|
|
|
# Local Variables:
|
|
|
|
# outline-regexp: "##+"
|
|
|
|
# End:
|