From 0fcb833bb8829c8d79d5c3bb769a5f8abae66f02 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 22 Aug 2018 22:28:55 +0200 Subject: bin/startsway: Add sway startup script. --- bin/startsway | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 bin/startsway (limited to 'bin/startsway') diff --git a/bin/startsway b/bin/startsway new file mode 100755 index 0000000..ae0b104 --- /dev/null +++ b/bin/startsway @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +export XKB_DEFAULT_LAYOUT=us,de +export XKB_DEFAULT_OPTIONS=grp:alt_shift_toggle +/usr/bin/sway -dV -- cgit v1.2.3-70-g09d2 From fda33adc1d546151ca32cb78c8c279fb7f3ce341 Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 13 Sep 2018 19:09:33 +0200 Subject: bin/startsway: Log output to ~/.log/sway.log. --- bin/startsway | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/startsway') 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 -- cgit v1.2.3-70-g09d2