This repository was archived by the owner on Feb 28, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
46 lines (37 loc) · 1.35 KB
/
Makefile
File metadata and controls
46 lines (37 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
packages := desktop src scripts fontconfig bat dunst git gnupg isync \
lynx mangohud mpv msmtp neomutt newsboat yazi npm paru goimapnotify \
zsh zathura tmux shell ripgrep qutebrowser lazygit gtk qt fastfetch \
ghostty alacritty niri waybar foot swayidle swaylock pipewire mise
all: submodule patch stow theming
submodule:
git submodule init
git submodule update
update:
git submodule update --remote --init --recursive
stow:
for pkg in $(packages); do \
stow -t ~ -S $$pkg; \
done
restow:
for pkg in $(packages); do \
stow -t ~ -R $$pkg; \
done
theming:
touch "$$XDG_CONFIG_HOME/ricing/theme.Xresources"
touch "$$XDG_CONFIG_HOME/ricing/colorscheme.lua"
touch "$$XDG_CONFIG_HOME/ricing/theme.zsh"
touch "$$XDG_CONFIG_HOME/ricing/theme-tmux.conf"
touch "$$XDG_CONFIG_HOME/ricing/theme-qutebrowser.py"
touch "$$XDG_CONFIG_HOME/ricing/delta-theme.gitcofig"
touch "$$XDG_CONFIG_HOME/ricing/lazygit-theme.yml"
touch "$$XDG_CONFIG_HOME/ricing/zathura-theme"
touch "$$XDG_CONFIG_HOME/ricing/theme.dunstrc"
rice:
scripts/.local/bin/rice base16-gruvbox-dark-hard
patch:
@if patch -p1 --forward --dry-run < patches/readability-js.patch >/dev/null 2>&1; then \
patch -p1 --forward < patches/readability-js.patch; \
else \
echo "Patch already applied or cannot be applied"; \
fi
.PHONY: all submodule update stow theming gruvbox restow patch