diff options
| author | 2025-12-27 01:38:22 -0800 | |
|---|---|---|
| committer | 2025-12-27 01:38:22 -0800 | |
| commit | 5cfa9dd6f68cbca8f7ca58c54a2685bb633ff7c6 (patch) | |
| tree | 3374b082f163164565f747c40d6158b1fac99a5b /GNUmakefile | |
| parent | d7c3c25b2376ba8efdb903847ad426e0b4aa307d (diff) | |
| download | new-dotfiles-5cfa9dd6f68cbca8f7ca58c54a2685bb633ff7c6.tar.gz new-dotfiles-5cfa9dd6f68cbca8f7ca58c54a2685bb633ff7c6.zip | |
firefox: Add configuration for current profile
Diffstat (limited to 'GNUmakefile')
| -rw-r--r-- | GNUmakefile | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/GNUmakefile b/GNUmakefile index 7247dd1..1f44fbd 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -4,8 +4,6 @@ MODULES=xmodmap emacs xdg shepherd dunst zsh mcron mbsync nyxt work \ STOW = stow EMACS = emacs SCHEME_IMPLEMENTATION = guile -# 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) .PRECIOUS: %.el @@ -127,21 +125,6 @@ zsh: zsh/.profile zsh/.zshrc zsh/.zsh/functions/unzip.zwc \ nyxt: nyxt/.config/nyxt/init.lisp -## 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 - ## Helper %.el: %.org |
