aboutsummaryrefslogtreecommitdiff
path: root/local/bin/startsway
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-01-20 15:40:02 +0100
committerKarel Kočí <cynerd@email.cz>2022-01-20 15:40:02 +0100
commit8fae57dbeab4e49ca2ef8e0806ef9a25789d5157 (patch)
tree2ae60d6bb2bee3ba1839e8ecf2d1a66a853444f1 /local/bin/startsway
parent658251b375c8f3a5051cd46e216445ba49728af2 (diff)
downloadmyconfigs-8fae57dbeab4e49ca2ef8e0806ef9a25789d5157.tar.gz
myconfigs-8fae57dbeab4e49ca2ef8e0806ef9a25789d5157.tar.bz2
myconfigs-8fae57dbeab4e49ca2ef8e0806ef9a25789d5157.zip
sway: various fixes and updates
Diffstat (limited to 'local/bin/startsway')
-rwxr-xr-x[-rw-r--r--]local/bin/startsway5
1 files changed, 3 insertions, 2 deletions
diff --git a/local/bin/startsway b/local/bin/startsway
index a162deb..995362e 100644..100755
--- a/local/bin/startsway
+++ b/local/bin/startsway
@@ -1,5 +1,6 @@
-#!/bin/sh
+#!/bin/bash
set -eu
+exec 1> >(logger -s -t "${0##*/}") 2>&1
# Declare the current desktop
export XDG_CURRENT_DESKTOP=sway
@@ -14,4 +15,4 @@ export force_s3tc_enable=true
export MOZ_USE_XINPUT2=1
export MOZ_ENABLE_WAYLAND=1
-exec dbus-launch --exit-with-session sway
+exec dbus-run-session sway