xmonad-custom/install_desktop_file.sh

9 lines
204 B
Bash
Executable file

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