Merge branch 'master' of ssh://github.com/breard-r/dotfiles
This commit is contained in:
commit
d2450a9081
1 changed files with 13 additions and 0 deletions
13
bin/sway
Executable file
13
bin/sway
Executable 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 $*
|
Loading…
Reference in a new issue