Skip to content
Snippets Groups Projects
Commit 92fd4406 authored by CALIN Alexis's avatar CALIN Alexis
Browse files

better fool-proof

parent 38497263
No related branches found
No related tags found
No related merge requests found
mkdir ~/.config/sway && mkdir ~/.config/foot
if test -d ~/.config/sway; then
echo "sway config directory already exist"
else
mkdir ~/.config/sway && mkdir ~/.config/foot
cp sway/config ~/.config/sway/ && cp foot/foot.ini ~/.config/foot/
fi
cp sway/config ~/.config/sway/ && cp foot/foot.ini ~/.config/foot/
\ No newline at end of file
......@@ -23,9 +23,10 @@ if [ "$distro" == "Debian" ]; then
read yn
if [ "$yn" == 'y' ]; then
# dwm depedencies
apt install sway brightnessctl
sudo apt install sway brightnessctl
#install bemenu
git clone https://github.com/Cloudef/bemenu && cd bemenu && make && make install && cd .. && rm bemenu
git clone https://github.com/Cloudef/bemenu && cd bemenu && make && sudo make install && cd .. && sudo rm -rf bemenu
chmod +x install-sway.sh
./install-sway.sh
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment