Commands ran when setting up
[~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
20# dkms and broadcom-wl driver
21pacaur -S linux-headers dkms
22pacaur -S broadcom-wl-dkms
23
24# X, drivers, lightdm, Xfce
25pacaur -S mesa-libgl libva-intel-driver xorg-{xprop,server{,-utils}} vulkan-intel
26pacaur -S pulseaudio pulseaudio-alsa
27pacaur -S lightdm{,-gtk-greeter}
28sudo systemctl enable lightdm
29pacaur -S xfce4{,-screenshoter}
30
31# other essentials
32pacaur -S wget openssh
33pacaur -S thunar-volman gvfs{,-mtp}
34pacaur -S ntfs-3g
35pacaur -S mba6x_bl-dkms
36pacaur -S firefox chromium
37pacaur -S unrar mpv youtube-dl
38pacaur -S feh sxiv-git
39pacaur -S p{a,n}mixer-gi
40pacaur -S pavucontrol
41pacaur -S rxvt-unicode-pixbuf urxvt-perls urxvt-font-size-git
42pacaur -S dunst-git
43pacaur -S light-git kbdlight
44pacaur -S pass
45pacaur -S rofi{,-pass}-git
46pacaur -S teiler
47pacaur -S ncdu
48pacaur -S w3m neofetch-git
49pacaur -S gnome-keyring seahorse
50pacaur -S meld
51pacaur -S ttf-symbola
52pacaur -S stow
53
54# tlp and powertop
55pacaur -S tlp powertop
56# TODO: create powertop service
57sudo vi /etc/systemd/system/powertop.service
58sudo systemctl enable powertop.service
59sudo systemctl disable systemd-rfkill
60# TODO: copy tlp config
61sudo systemctl enable tlp tlp-sleep
62
63# fonts
64pacaur -S ttf-liberation ttf-ubuntu-font-family
65pacaur -S ttf-inconsolata adobe-source-code-pro-fonts
66pacaur -S ttf-roboto cantarell-fonts
67
68pacaur -S elementary-xfce-icons
69pacaur -S xfce-theme-greybird
70
71# LibreOffice & TeX
72pacaur -S hunspell{,-en}
73pacaur -S libreoffice
74pacaur -S tex{info,live-{bin,core,{fonts,formats,generic,latex,plain}extra,htmlxml,humanities,pictures,publishers,science}}
75
76# macfanctld
77pacaur -S macfanctld
78sudo systemctl enable macfanctld.service
79sudo systemctl start macfanctld.service
80
81# stack
82gpg --recv-keys --keyserver hkp://pgp.mit.edu 702353E0F7E48EDB
83pacaur -S ncurses5-compat-libs stack
84
85# fix ` and ~
86sudo vi /etc/modprobe.d/hid_apple.conf
87# TODO: copy file
88sudo mkinitcpio -p linux
89
90# window manager
91pacaur -S {bspwm,sxhkd}-git
92
93
94# connman
95pacaur -S wpa_supplicant connman{,-gtk}
96
97sudo systemctl stop dhcpcd
98sudo systemctl enable connman
99
100# stow
101cd $HOME/dotfiles
102stow bspwm
103stow sxhkd
104stow compton
105stow rofi
106stow rofi-pass
107stow dunst
108stow fontconfig
109stow gtk
110stow x
111stow xdg
112stow latexmk
113stow zathura