Merge branch 'master' of ssh://github.com/breard-r/dotfiles

This commit is contained in:
Rodolphe Breard 2019-07-13 13:16:10 +02:00
commit d2450a9081

13
bin/sway Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
set -euo pipefail
IFS=$'\n\t'
COMPOSE_KEY_FILE="$HOME/.compose_key"
if [ -f "$COMPOSE_KEY_FILE" ]; then
COMPOSE_KEY=$(cat "$COMPOSE_KEY_FILE")
export XKB_DEFAULT_OPTIONS="compose:$COMPOSE_KEY"
fi
/usr/bin/sway $*