forked from brownjohnf/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
arch-desktop.sh
executable file
·99 lines (87 loc) · 1.72 KB
/
arch-desktop.sh
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#!/bin/bash
source ./config.sh
# install packages
sudo pacman -S --needed \
alacritty \
android-tools \
archiso \
cargo-edit \
chromium \
cups \
cups-pdf \
dmenu \
feh \
firefox \
ghostscript \
gnome-keyring \
gnome-screenshot \
go-tools \
graphviz \
gsfonts \
htop \
i3status-rust \
i3-gaps \
i3lock \
libpng \
libreoffice \
libvncserver \
lxdm \
mesa-demos \
network-manager-applet \
nodejs \
pamixer \
pavucontrol \
playerctl \
poppler-glib \
postgresql-libs \
redshift \
remmina \
element-desktop \
rust-analyzer \
sane \
seahorse \
signal-desktop \
thunar \
transmission-cli \
ttf-font-awesome \
tumbler \
virtualbox \
virtualbox-host-modules-arch \
vlc \
wireshark \
xorg \
xorg-server-xephyr \
xorg-xinit \
xsel \
zlib
sudo systemctl enable lxdm.service
# If the device has bluetooth, install the tools we need to manage it.
if dmesg | grep Bluetooth; then
sudo pacman -S --needed \
blueman \
bluez \
bluez-utils \
pulseaudio-bluetooth
sudo modprobe btusb
sudo systemctl enable bluetooth.service
sudo systemctl start bluetooth.service
fi
# set the default browser to firefox
mkdir -p $HOME/.local/share/applications
xdg-mime default firefox.desktop x-scheme-handler/http
xdg-mime default firefox.desktop x-scheme-handler/https
# Install AUR packages with yay (yay gets installed in arch-server)
yay -S --needed \
--answerdiff None \
--answeredit None \
--answerclean NotInstalled \
heroku-cli \
networkmanager-dmenu-git \
slack-desktop \
spotify \
zoom
# Print any helpful output
cat <<EOF
arch-desktop setup complete.
Install brscan4 from AUR for scanning support with Brother DCP-L25400W
EOF