summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoat <coat@sadbeast.com>2020-10-19 16:02:30 -0500
committerCoat <coat@sadbeast.com>2020-10-19 16:02:30 -0500
commit3642d5bf6180a878f4e277f6cdd80c284bc0f2a0 (patch)
tree6e2e39f36fbf2a9c99c20ae927097ec071c5645c
parent30eb3d7d524da7d1db96dd1e44c83c3644f133f0 (diff)
downloadcfg-3642d5bf6180a878f4e277f6cdd80c284bc0f2a0.tar.gz
cfg-3642d5bf6180a878f4e277f6cdd80c284bc0f2a0.tar.bz2
launch sway automatically
-rw-r--r--.zlogin6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zlogin b/.zlogin
new file mode 100644
index 0000000..dfaddb9
--- /dev/null
+++ b/.zlogin
@@ -0,0 +1,6 @@
+# If running from tty1 start sway
+if [ "$(tty)" = "/dev/tty1" ]; then
+ export _JAVA_AWT_WM_NONREPARENTING=1
+ export MOZ_ENABLE_WAYLAND=1
+ exec sway
+fi