-
Notifications
You must be signed in to change notification settings - Fork 1
/
dwm-arch.sh
50 lines (50 loc) · 1.51 KB
/
dwm-arch.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
#!/bin/bash
#MUST RUN AS ROOT
cd
git clone https://git.suckless.org/dwm/
git clone https://git.suckless.org/dwmstatus
git clone https://git.suckless.org/st
git clone https://git.suckless.org/dmenu
git clone https://git.suckless.org/sbase/
git clone https://git.suckless.org/surf
pacman -Syu
pacman -S xorg xorg-server xterm firefox nitrogen picom lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings archlinux-wallpaper pcmanfm avahi xdg-user-dirs xdg-utils gedit bluez bluez-utils alsa-utils pipewire pipewire-alsa pipewire-pulse pipewire-jack sof-firmware blueman arc-solid-gtk-theme arc-gtk-theme arc-icon-theme polkit-gnome
cd dwm
make
make install
cd
cd dwmstatus
make
make install
cd
cd st
make
make install
cd
cd dmenu
make
make install
cd
cd sbase
make
make install
cd
cd surf
make
make install
cd
mkdir -p /usr/share/xsessions
echo "[Desktop Entry]" >> /usr/share/xsessions/dwm.desktop
echo "Encoding=UTF-8" >> /usr/share/xsessions/dwm.desktop
echo "Name=Dwm" >> /usr/share/xsessions/dwm.desktop
echo "Comment=Dynamyc window manager" >> /usr/share/xsessions/dwm.desktop
echo "Exec=dwm" >> /usr/share/xsessions/dwm.desktop
echo "Icon=dwm" >> /usr/share/xsessions/dwm.desktop
echo "Type=XSession" >> /usr/share/xsessions/dwm.desktop
#change doc10 to your username
echo "nitrogen --restore &" >> /home/doc10/.xprofile
echo "picom -f &" >>/home/doc10/.xprofile
echo "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &" >> /home/doc10/.xprofile
cat /home/doc10/.xprofile
systemctl enable lightdm
systemctl enable bluetooth