changed install script a bit

This commit is contained in:
deadvey 2024-10-06 11:58:38 +01:00
parent aff5a78e79
commit 5330598438

View File

@ -15,19 +15,19 @@ read -p 'if you use wayland press w, if you use xorg press x: ' Display
if [ $Display = 'w' ]
then
sudo cp screenshot-wayland /usr/bin
sudo cp screenshot-wayland /usr/bin/screenshot-w
sudo chmod +x /usr/bin/screenshot-wayland
cp screenshot-w.sh $HOME
sudo chmod +x $HOME/screenshot-w.sh
mkdir $HOME/Screenshots
mkdir $HOME/Pictures/Screenshots
echo Run screenhot-w to screenshot
elif [ $Display = 'x' ]
then
sudo cp screenshot /usr/bin
sudo cp screenshot /usr/bin/screenshot-x
sudo chmod +x /usr/bin/screenshot
cp screenshot.sh $HOME
sudo chmod +x $HOME/screenshot.sh
mkdir $HOME/Screenshots
mkdir $HOME/Pictures/Screenshots
echo Run screenhot-x to screenshot
else
echo 'you did not press w or x'