Add push to site compilation, small cleanups
This commit is contained in:
parent
661b3b231c
commit
067598a965
|
@ -66,5 +66,6 @@ setup_files() {
|
|||
|
||||
traverse_dir $INPUT_DIR/\* 0
|
||||
setup_files
|
||||
rsync -arz ~/public_html/* -e ssh tsv@kernighan:/var/www/tsvallender.co.uk
|
||||
|
||||
popd
|
||||
|
|
|
@ -6,12 +6,13 @@ set -o nounset
|
|||
set -o pipefail
|
||||
if [[ "${TRACE-0}" == "1" ]]; then set -o xtrace; fi
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
main() {
|
||||
keyctl link @us @s
|
||||
Hyprland
|
||||
}
|
||||
|
||||
pushd ~
|
||||
main "$@"
|
||||
popd
|
||||
|
||||
|
|
|
@ -7,9 +7,9 @@ set -o pipefail
|
|||
if [[ "${TRACE-0}" == "1" ]]; then set -o xtrace; fi
|
||||
|
||||
if [[ "${1-}" =~ ^-*h(elp)?$ ]]; then
|
||||
echo 'Usage:
|
||||
echo 'Usage:
|
||||
tp new Start a new tmux session (unshared)
|
||||
tp share Share an existing session (read-only)
|
||||
tp sharero Share an existing session (read-only)
|
||||
tp sharew Share an existing session (write-access)
|
||||
tp unshare Remove share from existing session
|
||||
'
|
||||
|
@ -18,7 +18,7 @@ fi
|
|||
|
||||
pushd ~
|
||||
|
||||
SOCKET_PATH="/var/tmux_share/shared"
|
||||
SOCKET_PATH="/var/tmux_share/shared"
|
||||
SHARED_USER="foxsoft" # Should change this to use getent group tmux
|
||||
|
||||
share_ro_session() {
|
||||
|
@ -55,7 +55,7 @@ fi
|
|||
if [[ $1 = "new" || $1 = "n" ]] ; then
|
||||
new_session
|
||||
elif [[ $1 = "sharero" || $1 = "sro" ]] ; then
|
||||
share_session
|
||||
share_ro_session
|
||||
elif [[ $1 = "sharew" || $1 = "srw" ]] ; then
|
||||
share_rw_session
|
||||
elif [[ $1 = "unshare" ]] ; then
|
||||
|
|
Loading…
Reference in New Issue