changed install script a bit
This commit is contained in:
parent
aff5a78e79
commit
5330598438
12
install.sh
12
install.sh
@ -15,19 +15,19 @@ read -p 'if you use wayland press w, if you use xorg press x: ' Display
|
|||||||
|
|
||||||
if [ $Display = 'w' ]
|
if [ $Display = 'w' ]
|
||||||
then
|
then
|
||||||
sudo cp screenshot-wayland /usr/bin
|
sudo cp screenshot-wayland /usr/bin/screenshot-w
|
||||||
sudo chmod +x /usr/bin/screenshot-wayland
|
sudo chmod +x /usr/bin/screenshot-wayland
|
||||||
cp screenshot-w.sh $HOME
|
|
||||||
sudo chmod +x $HOME/screenshot-w.sh
|
sudo chmod +x $HOME/screenshot-w.sh
|
||||||
mkdir $HOME/Screenshots
|
mkdir $HOME/Pictures/Screenshots
|
||||||
|
echo Run screenhot-w to screenshot
|
||||||
|
|
||||||
elif [ $Display = 'x' ]
|
elif [ $Display = 'x' ]
|
||||||
then
|
then
|
||||||
sudo cp screenshot /usr/bin
|
sudo cp screenshot /usr/bin/screenshot-x
|
||||||
sudo chmod +x /usr/bin/screenshot
|
sudo chmod +x /usr/bin/screenshot
|
||||||
cp screenshot.sh $HOME
|
|
||||||
sudo chmod +x $HOME/screenshot.sh
|
sudo chmod +x $HOME/screenshot.sh
|
||||||
mkdir $HOME/Screenshots
|
mkdir $HOME/Pictures/Screenshots
|
||||||
|
echo Run screenhot-x to screenshot
|
||||||
|
|
||||||
else
|
else
|
||||||
echo 'you did not press w or x'
|
echo 'you did not press w or x'
|
||||||
|
Loading…
Reference in New Issue
Block a user