[rc] add rc.org for centralized literate configs
[~bandali/configs] / setup
CommitLineData
d583ed8c
AB
1#!/bin/bash
2
3sudo systemctl start dhcpcd
4
5# install cower & pacaur
6mkdir -p usr/build
7cd $_
8git clone https://aur.archlinux.org/cower.git
9git clone https://aur.archlinux.org/pacaur.git
10cd cower
11gpg --recv-keys --keyserver hkp://pgp.mit.edu 1EB2638FF56C0C53
12makepkg -si
13cd ../pacaur
14makepkg -si
15
16# mirrors
17pacaur -S reflector
18sudo reflector --sort rate --save /etc/pacman.d/mirrorlist -c "Canada" -f 5 -l 5
19
fb640eee 20# dkms
d583ed8c 21pacaur -S linux-headers dkms
d583ed8c
AB
22
23# X, drivers, lightdm, Xfce
24pacaur -S mesa-libgl libva-intel-driver xorg-{xprop,server{,-utils}} vulkan-intel
25pacaur -S pulseaudio pulseaudio-alsa
26pacaur -S lightdm{,-gtk-greeter}
27sudo systemctl enable lightdm
28pacaur -S xfce4{,-screenshoter}
29
30# other essentials
31pacaur -S wget openssh
32pacaur -S thunar-volman gvfs{,-mtp}
33pacaur -S ntfs-3g
34pacaur -S mba6x_bl-dkms
35pacaur -S firefox chromium
36pacaur -S unrar mpv youtube-dl
37pacaur -S feh sxiv-git
38pacaur -S p{a,n}mixer-gi
39pacaur -S pavucontrol
40pacaur -S rxvt-unicode-pixbuf urxvt-perls urxvt-font-size-git
41pacaur -S dunst-git
42pacaur -S light-git kbdlight
43pacaur -S pass
44pacaur -S rofi{,-pass}-git
45pacaur -S teiler
46pacaur -S ncdu
47pacaur -S w3m neofetch-git
48pacaur -S gnome-keyring seahorse
49pacaur -S meld
50pacaur -S ttf-symbola
51pacaur -S stow
52
53# tlp and powertop
54pacaur -S tlp powertop
55# TODO: create powertop service
56sudo vi /etc/systemd/system/powertop.service
57sudo systemctl enable powertop.service
58sudo systemctl disable systemd-rfkill
59# TODO: copy tlp config
60sudo systemctl enable tlp tlp-sleep
61
62# fonts
63pacaur -S ttf-liberation ttf-ubuntu-font-family
64pacaur -S ttf-inconsolata adobe-source-code-pro-fonts
65pacaur -S ttf-roboto cantarell-fonts
66
67pacaur -S elementary-xfce-icons
68pacaur -S xfce-theme-greybird
69
70# LibreOffice & TeX
71pacaur -S hunspell{,-en}
72pacaur -S libreoffice
73pacaur -S tex{info,live-{bin,core,{fonts,formats,generic,latex,plain}extra,htmlxml,humanities,pictures,publishers,science}}
74
75# macfanctld
76pacaur -S macfanctld
77sudo systemctl enable macfanctld.service
78sudo systemctl start macfanctld.service
79
80# stack
81gpg --recv-keys --keyserver hkp://pgp.mit.edu 702353E0F7E48EDB
82pacaur -S ncurses5-compat-libs stack
83
84# fix ` and ~
85sudo vi /etc/modprobe.d/hid_apple.conf
86# TODO: copy file
87sudo mkinitcpio -p linux
88
89# window manager
90pacaur -S {bspwm,sxhkd}-git
91
92
93# connman
94pacaur -S wpa_supplicant connman{,-gtk}
95
96sudo systemctl stop dhcpcd
97sudo systemctl enable connman
98
99# stow
100cd $HOME/dotfiles
101stow bspwm
102stow sxhkd
103stow compton
104stow rofi
105stow rofi-pass
106stow dunst
107stow fontconfig
108stow gtk
109stow x
110stow xdg
111stow latexmk
112stow zathura