This repository has been archived by the owner on Apr 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patharch-desktop.sh
executable file
·108 lines (96 loc) · 1.9 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
99
100
101
102
103
104
105
106
107
#!/bin/bash
source ./config.sh
# install packages
sudo pacman -S --needed --noconfirm \
alacritty \
android-tools \
archiso \
cargo-edit \
chromium \
cups \
cups-pdf \
dmenu \
feh \
firefox \
ghostscript \
gnome-keyring \
gnome-screenshot \
go-tools \
graphviz \
gsfonts \
hacksaw \
htop \
i3status-rust \
i3-gaps \
i3lock \
keybase-gui \
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 \
shotgun \
signal-desktop \
thunar \
transmission-cli \
ttf-font-awesome \
tumbler \
virtualbox \
virtualbox-host-modules-arch \
vlc \
wireshark-cli \
wireshark-qt \
x11-ssh-askpass \
xorg \
xorg-server-xephyr \
xorg-xclock \
xorg-xinit \
xsel \
zlib
sudo systemctl enable --now lxdm.service
sudo systemctl enable cups.socket
# If the device has bluetooth, install the tools we need to manage it.
if dmesg | grep Bluetooth; then
sudo pacman -S --needed --noconfirm \
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 \
leftwm \
networkmanager-dmenu-git \
slack-desktop \
spotify \
sysdig-inspect \
zoom
# Print any helpful output
cat <<EOF
arch-desktop setup complete.
Install brscan4 from AUR for scanning support with Brother DCP-L25400W
EOF