aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Stevens <nilix@nilfm.cc>2021-11-10 23:45:17 -0700
committerDerek Stevens <nilix@nilfm.cc>2021-11-10 23:45:17 -0700
commit9bcea226bbd4b2cdd78612defae95f5bd948b6c4 (patch)
tree8cee51b2693b6bb4e279a54eae02ae4823d78b2e
parentaea66ef8e23af0357fa261920063504bacfc3128 (diff)
update helpers
-rwxr-xr-xbuild.sh2
-rwxr-xr-xinstall.sh10
-rw-r--r--ryudo.desktop6
-rwxr-xr-xstartryudo3
4 files changed, 19 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index ce136f8..7053ea1 100755
--- a/build.sh
+++ b/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
diff --git a/install.sh b/install.sh
index 82ac188..f451473 100755
--- a/install.sh
+++ b/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
diff --git a/ryudo.desktop b/ryudo.desktop
new file mode 100644
index 0000000..3058863
--- /dev/null
+++ b/ryudo.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=Ryudo
+Comment=The minimal hybrid window manager that flows
+Exec=startryudo
+TryExec=startryudo
+Type=Application
diff --git a/startryudo b/startryudo
new file mode 100755
index 0000000..f8b8f0f
--- /dev/null
+++ b/startryudo
@@ -0,0 +1,3 @@
+#!/bin/sh
+sh ~/.ryudorc &
+ryudo $(cat ~/.ryudo.conf)