update to scwrypts v3

This commit is contained in:
2023-06-24 07:50:14 -06:00
parent 313d28c7ae
commit 66930780e2
11 changed files with 189 additions and 81 deletions

View File

@ -2,8 +2,8 @@
# configuration for scwrypts
#
SCWRYPTS_CONFIG_PATH="$HOME/.config/scwrypts"
SCWRYPTS_DATA_PATH="$HOME/.local/share/scwrypts"
SCWRYPTS_SHORTCUT='' # CTRL + W
SCWRYPTS_ENV_SHORTCUT='' # CTRL + /
[ -f "$HOME/.config/scwrypts/config.local.zsh" ] \
&& source "$HOME/.config/scwrypts/config.local.zsh"

View File

@ -3,6 +3,11 @@
### scwrypts runtime configuration ##################################
#####################################################################
# whether or not to deploy to production (0 = dev (default), 1 = prod)
export IN_PRODUCTION=
#####################################################################
# standard AWS environment variables used by awscli and other tools
export AWS_ACCOUNT=088935110352
export AWS_PROFILE=yage
@ -11,17 +16,18 @@ export AWS_REGION=us-east-2
# fully-qualified path to mount the EFS drive
export AWS__EFS__LOCAL_MOUNT_POINT=/mnt/efs/yage
# s3 bucket name and filesystem targets for media backups
export MEDIA_SYNC__S3_BUCKET=yage
export MEDIA_SYNC__TARGETS=
# details for a directus instance
export DIRECTUS__API_TOKEN=
export DIRECTUS__BASE_URL=https://heretic.directus.app
# details for discord bot
export DISCORD__BOT_TOKEN=
export DISCORD__DEFAULT_CHANNEL=
export DISCORD__CONTENT_FOOTER=
export DISCORD__CONTENT_HEADER='<@380809228450922507> '
export DISCORD__DEFAULT_AVATAR_URL=
export DISCORD__DEFAULT_CHANNEL_ID=
export DISCORD__DEFAULT_USERNAME=
export DISCORD__DEFAULT_WEBHOOK=
# custom i3 configuration settings
export I3__BORDER_PIXEL_SIZE=
@ -32,6 +38,10 @@ export I3__MODEL_CONFIG=$DOTWRYN/config/i3.conf
# linear.app project management configuration
export LINEAR__API_TOKEN=
# s3 bucket name and filesystem targets for media backups
export MEDIA_SYNC__S3_BUCKET=yage
export MEDIA_SYNC__TARGETS=
# redis connection credentials
export REDIS_AUTH=
export REDIS_HOST=

View File

@ -3,6 +3,11 @@
### scwrypts runtime configuration ##################################
#####################################################################
# whether or not to deploy to production (0 = dev (default), 1 = prod)
export IN_PRODUCTION=
#####################################################################
# standard AWS environment variables used by awscli and other tools
export AWS_ACCOUNT=088935110352 # from local
export AWS_PROFILE=yage # from local
@ -11,6 +16,28 @@ export AWS_REGION=us-east-2 # from local
# fully-qualified path to mount the EFS drive
export AWS__EFS__LOCAL_MOUNT_POINT=/mnt/efs/yage # from local
# details for a directus instance
export DIRECTUS__API_TOKEN=
export DIRECTUS__BASE_URL=https://heretic.directus.app # from local
# details for discord bot
export DISCORD__BOT_TOKEN=
export DISCORD__CONTENT_FOOTER=
export DISCORD__CONTENT_HEADER='<@380809228450922507> ' # from local
export DISCORD__DEFAULT_AVATAR_URL=
export DISCORD__DEFAULT_CHANNEL_ID=
export DISCORD__DEFAULT_USERNAME=
export DISCORD__DEFAULT_WEBHOOK=
# custom i3 configuration settings
export I3__BORDER_PIXEL_SIZE=
export I3__DMENU_FONT_SIZE=
export I3__GLOBAL_FONT_SIZE=
export I3__MODEL_CONFIG=$DOTWRYN/config/i3.conf # from local
# linear.app project management configuration
export LINEAR__API_TOKEN=
# s3 bucket name and filesystem targets for media backups
export MEDIA_SYNC__S3_BUCKET=yage # from local
export MEDIA_SYNC__TARGETS=(
@ -24,24 +51,6 @@ export MEDIA_SYNC__TARGETS=(
Archives/recordings
)
# details for a directus instance
export DIRECTUS__API_TOKEN=
export DIRECTUS__BASE_URL=https://heretic.directus.app # from local
# details for discord bot
export DISCORD__BOT_TOKEN=
export DISCORD__DEFAULT_CHANNEL=
# custom i3 configuration settings
export I3__BORDER_PIXEL_SIZE=
export I3__DMENU_FONT_SIZE=
export I3__GLOBAL_FONT_SIZE=
export I3__MODEL_CONFIG=$DOTWRYN/config/i3.conf # from local
# linear.app project management configuration
export LINEAR__API_TOKEN=
# redis connection credentials
export REDIS_AUTH=
export REDIS_HOST=

View File

@ -3,6 +3,11 @@
### scwrypts runtime configuration ##################################
#####################################################################
# whether or not to deploy to production (0 = dev (default), 1 = prod)
export IN_PRODUCTION=
#####################################################################
# standard AWS environment variables used by awscli and other tools
export AWS_ACCOUNT=088935110352 # from local
export AWS_PROFILE=yage # from local
@ -11,24 +16,18 @@ export AWS_REGION=us-east-2 # from local
# fully-qualified path to mount the EFS drive
export AWS__EFS__LOCAL_MOUNT_POINT=/mnt/efs/yage # from local
# s3 bucket name and filesystem targets for media backups
export MEDIA_SYNC__S3_BUCKET=yage # from local
export MEDIA_SYNC__TARGETS=(
.local/share/dolphin-emu
Games/roms/gameboy-advance
Games/roms/gameboy-color
Media
Pictures
)
# details for a directus instance
export DIRECTUS__API_TOKEN=
export DIRECTUS__BASE_URL=https://heretic.directus.app # from local
# details for discord bot
export DISCORD__BOT_TOKEN=
export DISCORD__DEFAULT_CHANNEL=
export DISCORD__CONTENT_FOOTER=
export DISCORD__CONTENT_HEADER='<@380809228450922507> ' # from local
export DISCORD__DEFAULT_AVATAR_URL=
export DISCORD__DEFAULT_CHANNEL_ID=
export DISCORD__DEFAULT_USERNAME=
export DISCORD__DEFAULT_WEBHOOK=
# custom i3 configuration settings
export I3__BORDER_PIXEL_SIZE=
@ -39,6 +38,16 @@ export I3__MODEL_CONFIG=$DOTWRYN/config/i3.conf # from local
# linear.app project management configuration
export LINEAR__API_TOKEN=
# s3 bucket name and filesystem targets for media backups
export MEDIA_SYNC__S3_BUCKET=yage # from local
export MEDIA_SYNC__TARGETS=(
.local/share/dolphin-emu
Games/roms/gameboy-advance
Games/roms/gameboy-color
Media
Pictures
)
# redis connection credentials
export REDIS_AUTH=
export REDIS_HOST=

View File

@ -3,6 +3,11 @@
### scwrypts runtime configuration ##################################
#####################################################################
# whether or not to deploy to production (0 = dev (default), 1 = prod)
export IN_PRODUCTION=
#####################################################################
# standard AWS environment variables used by awscli and other tools
export AWS_ACCOUNT=088935110352 # from local
export AWS_PROFILE=yage # from local
@ -11,6 +16,28 @@ export AWS_REGION=us-east-2 # from local
# fully-qualified path to mount the EFS drive
export AWS__EFS__LOCAL_MOUNT_POINT=/mnt/efs/yage # from local
# details for a directus instance
export DIRECTUS__API_TOKEN=
export DIRECTUS__BASE_URL=https://heretic.directus.app # from local
# details for discord bot
export DISCORD__BOT_TOKEN=
export DISCORD__CONTENT_FOOTER=
export DISCORD__CONTENT_HEADER='<@380809228450922507> ' # from local
export DISCORD__DEFAULT_AVATAR_URL=
export DISCORD__DEFAULT_CHANNEL_ID=
export DISCORD__DEFAULT_USERNAME=
export DISCORD__DEFAULT_WEBHOOK=
# custom i3 configuration settings
export I3__BORDER_PIXEL_SIZE=1
export I3__DMENU_FONT_SIZE=20
export I3__GLOBAL_FONT_SIZE=7
export I3__MODEL_CONFIG=$DOTWRYN/config/i3.conf # from local
# linear.app project management configuration
export LINEAR__API_TOKEN=
# s3 bucket name and filesystem targets for media backups
export MEDIA_SYNC__S3_BUCKET=yage # from local
export MEDIA_SYNC__TARGETS=(
@ -22,24 +49,6 @@ export MEDIA_SYNC__TARGETS=(
Pictures
)
# details for a directus instance
export DIRECTUS__API_TOKEN=
export DIRECTUS__BASE_URL=https://heretic.directus.app # from local
# details for discord bot
export DISCORD__BOT_TOKEN=
export DISCORD__DEFAULT_CHANNEL=
# custom i3 configuration settings
export I3__BORDER_PIXEL_SIZE=1
export I3__DMENU_FONT_SIZE=20
export I3__GLOBAL_FONT_SIZE=7
export I3__MODEL_CONFIG=$DOTWRYN/config/i3.conf # from local
# linear.app project management configuration
export LINEAR__API_TOKEN=
# redis connection credentials
export REDIS_AUTH=
export REDIS_HOST=

View File

@ -3,6 +3,11 @@
### scwrypts runtime configuration ##################################
#####################################################################
# whether or not to deploy to production (0 = dev (default), 1 = prod)
export IN_PRODUCTION=
#####################################################################
# standard AWS environment variables used by awscli and other tools
export AWS_ACCOUNT=088935110352 # from local
export AWS_PROFILE=yage # from local
@ -11,22 +16,18 @@ export AWS_REGION=us-east-2 # from local
# fully-qualified path to mount the EFS drive
export AWS__EFS__LOCAL_MOUNT_POINT=/mnt/efs/yage # from local
# s3 bucket name and filesystem targets for media backups
export MEDIA_SYNC__S3_BUCKET=yage # from local
export MEDIA_SYNC__TARGETS=(
Documents
Media
Pictures
)
# details for a directus instance
export DIRECTUS__API_TOKEN=
export DIRECTUS__BASE_URL=https://heretic.directus.app # from local
# details for discord bot
export DISCORD__BOT_TOKEN=
export DISCORD__DEFAULT_CHANNEL=
export DISCORD__CONTENT_FOOTER=
export DISCORD__CONTENT_HEADER='<@380809228450922507> ' # from local
export DISCORD__DEFAULT_AVATAR_URL=
export DISCORD__DEFAULT_CHANNEL_ID=
export DISCORD__DEFAULT_USERNAME=
export DISCORD__DEFAULT_WEBHOOK=
# custom i3 configuration settings
export I3__BORDER_PIXEL_SIZE=
@ -37,6 +38,14 @@ export I3__MODEL_CONFIG=$DOTWRYN/config/i3.conf # from local
# linear.app project management configuration
export LINEAR__API_TOKEN=
# s3 bucket name and filesystem targets for media backups
export MEDIA_SYNC__S3_BUCKET=yage # from local
export MEDIA_SYNC__TARGETS=(
Documents
Media
Pictures
)
# redis connection credentials
export REDIS_AUTH=
export REDIS_HOST=

View File

@ -3,6 +3,11 @@
### scwrypts runtime configuration ##################################
#####################################################################
# whether or not to deploy to production (0 = dev (default), 1 = prod)
export IN_PRODUCTION=
#####################################################################
# standard AWS environment variables used by awscli and other tools
export AWS_ACCOUNT=088935110352 # from local
export AWS_PROFILE=yage # from local
@ -11,23 +16,18 @@ export AWS_REGION=us-east-2 # from local
# fully-qualified path to mount the EFS drive
export AWS__EFS__LOCAL_MOUNT_POINT=/mnt/efs/yage # from local
# s3 bucket name and filesystem targets for media backups
export MEDIA_SYNC__S3_BUCKET=yage # from local
export MEDIA_SYNC__TARGETS=(
.porn
Documents
Media
Pictures
)
# details for a directus instance
export DIRECTUS__API_TOKEN=
export DIRECTUS__BASE_URL=https://heretic.directus.app # from local
# details for discord bot
export DISCORD__BOT_TOKEN=
export DISCORD__DEFAULT_CHANNEL=
export DISCORD__CONTENT_FOOTER=
export DISCORD__CONTENT_HEADER='<@380809228450922507> ' # from local
export DISCORD__DEFAULT_AVATAR_URL=https://heretic.directus.app/assets/9c975a20-d6f3-47f5-8f77-74014f5d0024
export DISCORD__DEFAULT_CHANNEL_ID=
export DISCORD__DEFAULT_USERNAME=umbreon
export DISCORD__DEFAULT_WEBHOOK=
# custom i3 configuration settings
export I3__BORDER_PIXEL_SIZE=3
@ -38,6 +38,15 @@ export I3__MODEL_CONFIG=$DOTWRYN/config/i3.conf # from local
# linear.app project management configuration
export LINEAR__API_TOKEN=
# s3 bucket name and filesystem targets for media backups
export MEDIA_SYNC__S3_BUCKET=yage # from local
export MEDIA_SYNC__TARGETS=(
.porn
Documents
Media
Pictures
)
# redis connection credentials
export REDIS_AUTH=
export REDIS_HOST=

53
config/scwrypts/env/test vendored Normal file
View File

@ -0,0 +1,53 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration ##################################
#####################################################################
# whether or not to deploy to production (0 = dev (default), 1 = prod)
export IN_PRODUCTION=
#####################################################################
# standard AWS environment variables used by awscli and other tools
export AWS_ACCOUNT=
export AWS_PROFILE=
export AWS_REGION=
# fully-qualified path to mount the EFS drive
export AWS__EFS__LOCAL_MOUNT_POINT=
# details for a directus instance
export DIRECTUS__API_TOKEN=
export DIRECTUS__BASE_URL=
# details for discord bot
export DISCORD__BOT_TOKEN=
export DISCORD__DEFAULT_AVATAR_URL=
export DISCORD__DEFAULT_CHANNEL_ID=
# custom i3 configuration settings
export I3__BORDER_PIXEL_SIZE=3
export I3__DMENU_FONT_SIZE=18
export I3__GLOBAL_FONT_SIZE=16
export I3__MODEL_CONFIG=
# linear.app project management configuration
export LINEAR__API_TOKEN=
# s3 bucket name and filesystem targets for media backups
export MEDIA_SYNC__S3_BUCKET=
export MEDIA_SYNC__TARGETS=(_____ .porn_____ Documents_____ Media_____ Pictures_____)_____
# redis connection credentials
export REDIS_AUTH=
export REDIS_HOST=
export REDIS_PORT=
# twilio account / credentials
export TWILIO__ACCOUNT_SID=
export TWILIO__API_KEY=
export TWILIO__API_SECRET=
export TWILIO__DEFAULT_PHONE_FROM=
export TWILIO__DEFAULT_PHONE_TO=
#####################################################################