update helpers
This commit is contained in:
parent
aea66ef8e2
commit
9bcea226bb
4 changed files with 19 additions and 2 deletions
2
build.sh
2
build.sh
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [! -e config.h ]; then
|
||||
if [ ! -e config.h ]; then
|
||||
cp config.def.h config.h
|
||||
fi
|
||||
|
||||
|
|
10
install.sh
10
install.sh
|
@ -13,8 +13,16 @@ if [ $(whoami) != "root" ]; then
|
|||
echo "You may want to add it to your PATH."
|
||||
echo "The manual pages were not installed."
|
||||
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
|
||||
|
||||
chmod a+x /usr/bin/startryudo
|
||||
chmod a+x ${PLAN9}/bin/ryudo
|
||||
|
||||
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/'"
|
||||
fi
|
||||
|
|
6
ryudo.desktop
Normal file
6
ryudo.desktop
Normal 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
3
startryudo
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
sh ~/.ryudorc &
|
||||
ryudo $(cat ~/.ryudo.conf)
|
Loading…
Reference in a new issue