scwrypts v3 refactor

This commit is contained in:
2023-06-27 16:53:59 -06:00
parent 02ed7d615a
commit 1a64551465
57 changed files with 590 additions and 501 deletions

View File

@ -4,9 +4,6 @@
export DOTWRYN="$HOME/.wryn"
export SFX_PATH="$HOME/Media/sfx"
export WALLPAPER_PATH="$HOME/Pictures/bg"
export SOURCE_PACKAGES="$HOME/.local/share/source-packages"
export DOTWRYN_UTILS="$DOTWRYN/zsh/plugins/scwrypts/zsh/lib/utils/utils.module.zsh"
@ -61,7 +58,7 @@ for e in \
"local.$(hostnamectl --static).secret" \
"local.$(hostnamectl --static)" \
"local"
do export SCWRYPTS_ENV="$e"; [ -f "$HOME/.config/scwrypts/environments/$e" ] && break; done
do export SCWRYPTS_ENV="$e"; [ -f "$HOME/.config/scwrypts/environments/scwrypts/$e" ] && break; done
# z

View File

@ -4,7 +4,7 @@
set $alt Mod1
set $mod Mod4
font pango:DejaVuSansMono Nerd Font 20
font pango:DejaVuSansM Nerd Font 20
################################################################################
## Custom Utility ##############################################################
@ -78,16 +78,16 @@ bindsym $mod+Shift+f focus parent; fullscreen; focus child
bindsym $mod+BackSpace open
bindsym $mod+1 workspace number "1"
bindsym $mod+2 workspace number "2"
bindsym $mod+3 workspace number "3"
bindsym $mod+4 workspace number "4"
bindsym $mod+5 workspace number "5"
bindsym $mod+6 workspace number "6"
bindsym $mod+7 workspace number "7"
bindsym $mod+8 workspace number "8"
bindsym $mod+9 workspace number "9"
bindsym $mod+0 workspace number "0"
bindsym $mod+1 workspace number "1"; bar mode dock
bindsym $mod+2 workspace number "2"; bar mode hide
bindsym $mod+3 workspace number "3"; bar mode dock
bindsym $mod+4 workspace number "4"; bar mode hide
bindsym $mod+5 workspace number "5"; bar mode dock
bindsym $mod+6 workspace number "6"; bar mode hide
bindsym $mod+7 workspace number "7"; bar mode dock
bindsym $mod+8 workspace number "8"; bar mode hide
bindsym $mod+9 workspace number "9"; bar mode dock
bindsym $mod+0 workspace number "0"; bar mode hide
bindsym $mod+Shift+1 move container to workspace number "1"
bindsym $mod+Shift+2 move container to workspace number "2"

View File

@ -5,5 +5,7 @@
SCWRYPTS_SHORTCUT='' # CTRL + W
SCWRYPTS_ENV_SHORTCUT='' # CTRL + /
source "$HOME/.wryn/scwrypts/dotwryn.scwrypts.zsh"
[ -f "$HOME/.config/scwrypts/config.local.zsh" ] \
&& source "$HOME/.config/scwrypts/config.local.zsh"

View File

@ -26,12 +26,6 @@ $DOTWRYN/config/pylint.conf pylintrc
$DOTWRYN/config/ripgrep.conf ripgrep/config
$DOTWRYN/config/scwrypts/config.zsh scwrypts/config.zsh
$DOTWRYN/config/scwrypts/dotfiles.zsh scwrypts/dotfiles.zsh
$DOTWRYN/config/scwrypts/env/local scwrypts/environments/local
$DOTWRYN/config/scwrypts/env/local.altaria scwrypts/environments/local.altaria
$DOTWRYN/config/scwrypts/env/local.blaziken scwrypts/environments/local.blaziken
$DOTWRYN/config/scwrypts/env/local.butterfree scwrypts/environments/local.butterfree
$DOTWRYN/config/scwrypts/env/local.gardevoir scwrypts/environments/local.gardevoir
$DOTWRYN/config/scwrypts/env/local.umbreon scwrypts/environments/local.umbreon
$DOTWRYN/config/scwrypts/vundle.zsh scwrypts/vundle.zsh
$DOTWRYN/config/tmux.conf tmux/tmux.conf
$DOTWRYN/config/xcompose.conf X11/xcompose
@ -41,4 +35,17 @@ $DOTWRYN/config/xinitrc.i3 ../.xinitrc
$DOTWRYN/bin/scwrypts ../.local/bin/scwrypts
$DOTWRYN/bin/vim ../.local/bin/vim
$DOTWRYN/bin/$(hostnamectl --static) ../.$(hostnamectl --static)
$DOTWRYN/config/scwrypts/environments/scwrypts/local scwrypts/environments/scwrypts/local
$DOTWRYN/config/scwrypts/environments/scwrypts/local.altaria scwrypts/environments/scwrypts/local.altaria
$DOTWRYN/config/scwrypts/environments/scwrypts/local.blaziken scwrypts/environments/scwrypts/local.blaziken
$DOTWRYN/config/scwrypts/environments/scwrypts/local.butterfree scwrypts/environments/scwrypts/local.butterfree
$DOTWRYN/config/scwrypts/environments/scwrypts/local.gardevoir scwrypts/environments/scwrypts/local.gardevoir
$DOTWRYN/config/scwrypts/environments/scwrypts/local.umbreon scwrypts/environments/scwrypts/local.umbreon
$DOTWRYN/config/scwrypts/environments/dotwryn/local scwrypts/environments/dotwryn/local
$DOTWRYN/config/scwrypts/environments/dotwryn/local.altaria scwrypts/environments/dotwryn/local.altaria
$DOTWRYN/config/scwrypts/environments/dotwryn/local.blaziken scwrypts/environments/dotwryn/local.blaziken
$DOTWRYN/config/scwrypts/environments/dotwryn/local.butterfree scwrypts/environments/dotwryn/local.butterfree
$DOTWRYN/config/scwrypts/environments/dotwryn/local.gardevoir scwrypts/environments/dotwryn/local.gardevoir
$DOTWRYN/config/scwrypts/environments/dotwryn/local.umbreon scwrypts/environments/dotwryn/local.umbreon
"

View File

@ -1,53 +0,0 @@
#!/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=
#####################################################################

View File

@ -0,0 +1,11 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration (group 'dotwryn') ################
#####################################################################
# directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx"
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg"
# home server data
export WRYN__SERVER_HOSTNAMES=

View File

@ -0,0 +1,11 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration (group 'dotwryn') ################
#####################################################################
# directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
# home server data
export WRYN__SERVER_HOSTNAMES=

View File

@ -0,0 +1,11 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration (group 'dotwryn') ################
#####################################################################
# directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
# home server data
export WRYN__SERVER_HOSTNAMES=

View File

@ -0,0 +1,11 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration (group 'dotwryn') ################
#####################################################################
# directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
# home server data
export WRYN__SERVER_HOSTNAMES=

View File

@ -0,0 +1,11 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration (group 'dotwryn') ################
#####################################################################
# directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
# home server data
export WRYN__SERVER_HOSTNAMES=

View File

@ -0,0 +1,11 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration (group 'dotwryn') ################
#####################################################################
# directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
# home server data
export WRYN__SERVER_HOSTNAMES=

View File

@ -1,20 +1,6 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration ##################################
#####################################################################
# whether or not to deploy to production (0 = dev (default), 1 = prod)
export IN_PRODUCTION=
#####################################################################
# directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx"
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg"
# home server data
export WRYN__SERVER_HOSTNAMES=
### scwrypts runtime configuration (group 'scwrypts') ###############
#####################################################################
# standard AWS environment variables used by awscli and other tools
@ -62,5 +48,3 @@ export TWILIO__API_KEY=
export TWILIO__API_SECRET=
export TWILIO__DEFAULT_PHONE_FROM=
export TWILIO__DEFAULT_PHONE_TO=
#####################################################################

View File

@ -1,20 +1,6 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration ##################################
#####################################################################
# whether or not to deploy to production (0 = dev (default), 1 = prod)
export IN_PRODUCTION=
#####################################################################
# directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
# home server data
export WRYN__SERVER_HOSTNAMES=
### scwrypts runtime configuration (group 'scwrypts') ###############
#####################################################################
# standard AWS environment variables used by awscli and other tools
@ -71,5 +57,3 @@ export TWILIO__API_KEY=
export TWILIO__API_SECRET=
export TWILIO__DEFAULT_PHONE_FROM=
export TWILIO__DEFAULT_PHONE_TO=
#####################################################################

View File

@ -1,20 +1,6 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration ##################################
#####################################################################
# whether or not to deploy to production (0 = dev (default), 1 = prod)
export IN_PRODUCTION=
#####################################################################
# directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
# home server data
export WRYN__SERVER_HOSTNAMES=
### scwrypts runtime configuration (group 'scwrypts') ###############
#####################################################################
# standard AWS environment variables used by awscli and other tools
@ -68,5 +54,3 @@ export TWILIO__API_KEY=
export TWILIO__API_SECRET=
export TWILIO__DEFAULT_PHONE_FROM=
export TWILIO__DEFAULT_PHONE_TO=
#####################################################################

View File

@ -1,20 +1,6 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration ##################################
#####################################################################
# whether or not to deploy to production (0 = dev (default), 1 = prod)
export IN_PRODUCTION=
#####################################################################
# directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
# home server data
export WRYN__SERVER_HOSTNAMES=
### scwrypts runtime configuration (group 'scwrypts') ###############
#####################################################################
# standard AWS environment variables used by awscli and other tools
@ -69,5 +55,3 @@ export TWILIO__API_KEY=
export TWILIO__API_SECRET=
export TWILIO__DEFAULT_PHONE_FROM=
export TWILIO__DEFAULT_PHONE_TO=
#####################################################################

View File

@ -1,20 +1,6 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration ##################################
#####################################################################
# whether or not to deploy to production (0 = dev (default), 1 = prod)
export IN_PRODUCTION=
#####################################################################
# directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
# home server data
export WRYN__SERVER_HOSTNAMES=
### scwrypts runtime configuration (group 'scwrypts') ###############
#####################################################################
# standard AWS environment variables used by awscli and other tools
@ -66,5 +52,3 @@ export TWILIO__API_KEY=
export TWILIO__API_SECRET=
export TWILIO__DEFAULT_PHONE_FROM=
export TWILIO__DEFAULT_PHONE_TO=
#####################################################################

View File

@ -1,20 +1,6 @@
#!/bin/zsh
#####################################################################
### scwrypts runtime configuration ##################################
#####################################################################
# whether or not to deploy to production (0 = dev (default), 1 = prod)
export IN_PRODUCTION=
#####################################################################
# directory containing sound effects
export DESKTOP__SFX_PATH="$HOME/Media/sfx" # from local
export DESKTOP__WALLPAPER_PATH="$HOME/Pictures/bg" # from local
# home server data
export WRYN__SERVER_HOSTNAMES=
### scwrypts runtime configuration (group 'scwrypts') ###############
#####################################################################
# standard AWS environment variables used by awscli and other tools
@ -67,5 +53,3 @@ export TWILIO__API_KEY=
export TWILIO__API_SECRET=
export TWILIO__DEFAULT_PHONE_FROM=
export TWILIO__DEFAULT_PHONE_TO=
#####################################################################