diff --git a/install.sh b/install.sh index 965dca4..d451be5 100755 --- a/install.sh +++ b/install.sh @@ -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'