aboutsummaryrefslogtreecommitdiff
path: root/start.sh
diff options
context:
space:
mode:
authorkdam0 <me@kumardamani.net>2023-03-13 23:24:56 +0000
committerkdam0 <me@kumardamani.net>2023-03-13 23:24:56 +0000
commit2e7be84c789801304c86a07351621e0503ccdf40 (patch)
tree9c1a2c359f712c7dd6b8a9b2a389cbc3a4018265 /start.sh
added initial repo files
Diffstat (limited to 'start.sh')
-rwxr-xr-xstart.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/start.sh b/start.sh
new file mode 100755
index 0000000..db88d91
--- /dev/null
+++ b/start.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+# This a sort-of auto-start script.
+# Run this from a tty to start my graphical env.
+
+# don't need it anymore?
+#echo $(id -u)
+#export XDG_RUNTIME_DIR=/tmp/xdg-runtime-$(id -u)
+#mkdir -p $XDG_RUNTIME_DIR
+#echo $XDG_RUNTIME_DIR
+
+export EDITOR=nvim
+
+exec dwl -s 'somebar' &
+#exec sway &
+
+# set blocks on bar
+exec /usr/local/bin/someblocks &
+
+# give wayland session some time to init
+sleep 1
+
+# set bg
+exec ./bg.sh &
+