-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (39 loc) · 1.39 KB
/
Makefile
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
PLUGINS = ~/.vim/pack/git/start
.PHONY: all pkgs plugins conf swm restore
all: pkgs plugins conf
pkgs:
sudo dnf install -y vim \
git \
stow \
tmux \
ctags \
tig \
libguestfs-tools-c \
virt-install \
virt-manager \
libvirt-daemon-config-network \
weechat \
podman \
python3-flake8 \
python3-pudb \
ipython3 \
fzf \
powerline-fonts
plugins:
mkdir -p $(PLUGINS)
git clone https://github.com/morhetz/gruvbox $(PLUGINS)/gruvbox
git clone https://github.com/w0rp/ale.git $(PLUGINS)/ale
git clone https://github.com/tpope/vim-commentary $(PLUGINS)/commentary
git clone https://github.com/airblade/vim-gitgutter $(PLUGINS)/gitgutter
git clone https://github.com/itchyny/lightline.vim $(PLUGINS)/lightline
git clone https://github.com/itchyny/vim-gitbranch $(PLUGINS)/gitbranch
conf:
@[ -f ~/.bashrc ] && mv ~/.bashrc{,.orig} || true
stow -v --no-folding default
dconf load /org/gnome/ < gnome.conf
swm:
podman build -t dnf-devel swm/
stow -v --no-folding --ignore=Dockerfile swm
restore:
stow -Dv default swm || true
@[ -f ~/.bashrc.orig ] && mv ~/.bashrc{.orig,} || true