From 99fb2dee633e7ab5f0aa893d619c7c0d8d7db0b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 24 Jul 2022 11:28:52 +0200 Subject: [PATCH] add install script for desktop file --- install_desktop_file.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 install_desktop_file.sh diff --git a/install_desktop_file.sh b/install_desktop_file.sh new file mode 100755 index 0000000..e1af91d --- /dev/null +++ b/install_desktop_file.sh @@ -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