update helpers

This commit is contained in:
Iris Lightshard 2021-11-10 23:45:17 -07:00
parent aea66ef8e2
commit 9bcea226bb
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398
4 changed files with 19 additions and 2 deletions

View file

@ -13,8 +13,16 @@ if [ $(whoami) != "root" ]; then
echo "You may want to add it to your PATH." echo "You may want to add it to your PATH."
echo "The manual pages were not installed." echo "The manual pages were not installed."
else else
cp ryudo $PLAN9/bin/ryudo cp ryudo ${PLAN9}/bin/ryudo
cp ryudo.desktop /usr/share/xsessions/ryudo.desktop
cp startryudo /usr/bin/startryudo
cp ryudo.1 $PLAN9/man/man1/ryudo.1 cp ryudo.1 $PLAN9/man/man1/ryudo.1
chmod a+x /usr/bin/startryudo
chmod a+x ${PLAN9}/bin/ryudo
echo "ryudo has been installed to '${PLAN9}/bin/';" echo "ryudo has been installed to '${PLAN9}/bin/';"
echo "xsession has been installed to '/usr/share/xsessions';"
echo "startryudo script has been installed to '/usr/bin/';"
echo "The manual pages have been installed to '${PLAN9}/man/'" echo "The manual pages have been installed to '${PLAN9}/man/'"
fi fi

6
ryudo.desktop Normal file
View file

@ -0,0 +1,6 @@
[Desktop Entry]
Name=Ryudo
Comment=The minimal hybrid window manager that flows
Exec=startryudo
TryExec=startryudo
Type=Application

3
startryudo Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
sh ~/.ryudorc &
ryudo $(cat ~/.ryudo.conf)