add install script for desktop file

This commit is contained in:
Maximilian Keßler 2022-07-24 11:28:52 +02:00
parent 8484024e3b
commit 99fb2dee63

9
install_desktop_file.sh Executable file
View file

@ -0,0 +1,9 @@
FILE=/usr/share/xsessions/xmonad.desktop
if test -f "$FILE"; then
echo "$FILE exists already, not copying"
exit 1
fi
echo "Copying xmonad.desktop to /usr/share/xsessions"
sudo cp xmonad.desktop $FILE