dotfiles/Makefile

58 lines
2.8 KiB
Makefile

alpine: alpineinstallpkgs compile copy fonts
@echo "done :)"
kiss: kissinstallpkgs copy fonts
@echo "should do a shell script tbh lol"
openbsd: openbsdinstallpkgs compile copy fonts
@echo "done :)"
freebsd: freebsdinstallpkgs compile copy fonts
@echo "done :)"
alpineinstallpkgs:
doas apk add acct alpine-base alsa-lib alsa-plugins alsa-utils bash bmake bsd-compat-headers ccls chromium clang curl dbus-x11 dhcpcd dmenu doas docs dosfstools dunst e2fsprogs eudev evtest feh file firefox freetype freetype-dev fzf g++ gcc git glib go gopls gradle grub-efi gtk+3.0 gtk+3.0-dev htop jq libx11-dev libxft-dev libxinerama-dev linux-edge lsblk lua make man-pages mandoc mandoc-apropos mesa mpv multimc mupdf mupdf-x11 nasm ncurses neofetch neovim nyxt obs-studio openssl pandoc php python2 qemu qemu-img qemu-system-x86_64 qemu-ui-gtk ranger rust-analysis rustup scrot sdl2-dev sdl2_ttf sdl2_ttf-dev socat unzip wine wireless-tools wpa_supplicant xclip xdotool-dev xf86-input-libinput xf86-video-intel xorg-server xrandr xsetroot yaml zsh
kissinstallpkgs:
kiss b alsa-utils bemenu file firefox foot go grim htop man-pages mpv neofetch neovim opendoas pciutils ranger rust sway tzdata wayland-protocols wbg wf-recorder wl-clipboard wl-sunset youtube-dl zsh
openbsdinstallpkgs:
doas pkg_add chromium dmenu dunst feh firefox git go htop jq kakoune mosh mpv mupdf neofetch picom ranger ripgrep rust rust-clippy scrot socat unzip weechat wget xbanish xclip zsh
freebsdinstallpkgs:
doas pkg install alsa-utils chromium dmenu drm-kmod dunst feh firefox go htop jq libnotify lsblk meson mpv ncurses neofetch neovim ninja pkg pkgconf py38-ranger py38-ueberzug rust scrot socat urwfonts uthash xauth xbanish xclip xf86-input-libinput xinit xmodmap xnotify xset xsetroot zsh
git:
@echo "cloning"
git clone https://codeberg.org/BubbyRoosh/dwm ~/.local/src/dwm
git clone https://codeberg.org/BubbyRoosh/st ~/.local/src/st
compile: git
@echo "installing dwm.."
doas make -C ~/.local/src/dwm clean install
#@echo "installing st.."
#doas make -C ~/.local/src/st clean install
picom:
git clone https://github.com/yshui/picom ~/.local/src/picom
git -C ~/.local/src/picom submodule update --init --recursive
LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" meson --buildtype=release ~/.local/src/picom ~/.local/src/picom/build
ninja -C ~/.local/src/picom/build
doas ninja -C ~/.local/src/picom/build install
copy:
# moment
cp -rp .local/scripts ~/.local
cp -rp .local/share ~/.local
cp -rp .config ~/.config
cp -rp .vim ~/.vim
cp -p .Xauthority ~
cp -p .fehbg ~
cp -p .xinitrc ~
cp -p .zshenv ~
fonts:
unzip ~/.local/share/fonts/iosevka/ttf-iosevka-6.1.3.zip -d ~/.local/share/fonts/iosevka/
unzip ~/.local/share/fonts/symbola/symbola.zip -d ~/.local/share/fonts/symbola/
tar xzf ~/.local/share/fonts/spleen/spleen-1.9.1.tar.gz -C ~/.local/share/fonts/spleen/