shellcheck, better automated upgrades
[distro-setup] / i3-sway / gen
1 #!/bin/bash
2
3 set -eE -o pipefail
4 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
5
6 x="$(readlink -f -- "${BASH_SOURCE[0]}")"; cd ${x%/*} # directory of this file
7
8 cat common.conf sway.conf > /a/bin/distro-setup/subdir_files/.config/sway/config
9 cat common.conf i3.conf > /a/bin/distro-setup/subdir_files/.config/i3/config