From 53305984385cb9baa38f525bd9ecab6a26a00877 Mon Sep 17 00:00:00 2001 From: deadvey Date: Sun, 6 Oct 2024 11:58:38 +0100 Subject: [PATCH] changed install script a bit --- install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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'