-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·39 lines (30 loc) · 1.12 KB
/
setup.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
#!/bin/sh
set -e
echo Deploying files:
cp .vimrc ~/
cp .Xresources ~/
mkdir -p ~/.config
mkdir -p ~/.config/i3
cp config ~/.config/i3
cp xorg.conf /etc/X11
cp Xresources /etc/X11/xdm
mkdir -p ~/Pictures
mkdir -p ~/Pictures/bg
cp icon.png ~/Pictures/bg
cp 2.png ~/Pictures/bg
echo Setting privilages...
chmod +x lock.sh
echo Adding rpmfusion...
dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
dnf install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
echo Installing repos...
echo i3 basics:
dnf install nodejs-devel i3 i3lock xdm NetworkManager network-manager-applet dbus-devel libX11-devel libXrandr-devel glib2-devel pango-devel gtk2-devel libxdg-basedir-devel libXScrnSaver-devel python-devel cmake
echo Other i3 stuff:
dnf install dunst xss-lock xbacklight feh lxappearance ranger thunar
systemctl enable xdm
echo All the rest:
dnf install firefox vim gvim tlp htop gcc texlive texmaker scidavis ffmpeg imlib2 glibc lpf-spotify-client
echo Setting it up:
feh --bg-fill ~/Pictures/bg/2.png
echo You should reboot now