aboutsummaryrefslogtreecommitdiffstats
path: root/bin/startsway
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2018-09-13 19:09:33 +0200
committerDavid Runge <dave@sleepmap.de>2018-09-13 19:09:33 +0200
commitfda33adc1d546151ca32cb78c8c279fb7f3ce341 (patch)
treef2ee80cd599deb4d71f72a1dd01cfaf2a50a525e /bin/startsway
parentf31796d7db54baa60306c4adcc5601eaea8d43ee (diff)
downloaddotfiles-fda33adc1d546151ca32cb78c8c279fb7f3ce341.tar.gz
dotfiles-fda33adc1d546151ca32cb78c8c279fb7f3ce341.tar.bz2
dotfiles-fda33adc1d546151ca32cb78c8c279fb7f3ce341.tar.xz
dotfiles-fda33adc1d546151ca32cb78c8c279fb7f3ce341.zip
bin/startsway: Log output to ~/.log/sway.log.
Diffstat (limited to 'bin/startsway')
-rwxr-xr-xbin/startsway3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/startsway b/bin/startsway
index ae0b104..ee46560 100755
--- a/bin/startsway
+++ b/bin/startsway
@@ -2,4 +2,5 @@
export XKB_DEFAULT_LAYOUT=us,de
export XKB_DEFAULT_OPTIONS=grp:alt_shift_toggle
-/usr/bin/sway -dV
+mkdir -p "$HOME/.log"
+/usr/bin/sway -dV > "$HOME/.log/sway.log" 2>&1