-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
23 lines (19 loc) · 736 Bytes
/
Copy pathinstall.sh
File metadata and controls
23 lines (19 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
read -p "Are you running on Wayland (y/n)? " wayland
if [ "$wayland" == "y" ]; then
cp borderless-fullscreen-wayland.sh /usr/bin
cp borderless-fullscreen-wayland.desktop /usr/share/applications/
chmod +x /usr/bin/borderless-fullscreen-wayland.sh
chmod +x /usr/share/applications/borderless-fullscreen-wayland.desktop
else
read -p "Are you running on Xorg (y/n)? " xorg
if [ "$xorg" == "y" ]; then
cp borderless-fullscreen.sh /usr/bin
cp borderless-fullscreen.desktop /usr/share/applications/
chmod +x /usr/bin/borderless-fullscreen.sh
chmod +x /usr/share/applications/borderless-fullscreen.desktop
fi
fi
cp icon-bf.png /usr/share/icons/
chmod +x uninstall.sh
echo "Installed Successfully!"