forked from zedsalim/debian-z
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2-setup.sh
executable file
·49 lines (42 loc) · 1.01 KB
/
2-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
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
# Update User Directories (Documents,Downloads,...)
xdg-user-dirs-update
# Install Neovim
cd
git clone https://github.com/neovim/neovim
cd neovim && make CMAKE_BUILD_TYPE=RelWithDebInfo
git checkout stable
cd build && cpack -G DEB && sudo dpkg -i nvim-linux64.deb
# Installing i3 gaps
cd
cd Downloads
git clone https://github.com/Airblader/i3 i3-gaps
cd i3-gaps
mkdir -p build && cd build
meson --prefix /usr/local
ninja
sudo ninja install
# Installing dependencies for Ly Console Manager
sudo nala install -y libpam0g-dev libxcb-xkb-dev
# Installing Ly Console Display Manager
cd
cd Downloads
git clone --recurse-submodules https://github.com/fairyglade/ly
cd ly/
make
sudo make install installsystemd
sudo systemctl enable ly.service
# Configure xsessions
if [[ ! -d /usr/share/xsessions ]]; then
sudo mkdir /usr/share/xsessions
fi
cat > ./temp << "EOF"
[Desktop Entry]
Encoding=UTF-8
Name=i3
Comment=Manual Window Manager
Exec=i3
Icon=i3
Type=XSession
EOF
sudo cp ./temp /usr/share/xsessions/i3.desktop;rm ./temp