Compare commits
	
		
			7 Commits
		
	
	
		
			c5fa4d1056
			...
			37b562b5c9
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 37b562b5c9 | |||
| c93dcace2b | |||
| 1b71221ca5 | |||
| c109674cf9 | |||
| 40992361c0 | |||
| 89afcef89e | |||
| 3a807ef786 | 
@@ -1,30 +1,30 @@
 | 
			
		||||
# do not edit; generated by scwrypts
 | 
			
		||||
# theme : spring-sunset
 | 
			
		||||
# theme : burning-death
 | 
			
		||||
[colors.cursor]
 | 
			
		||||
cursor = '0xfdfbe7'
 | 
			
		||||
cursor = '0x8eadf8'
 | 
			
		||||
 | 
			
		||||
[colors.primary]
 | 
			
		||||
background = '0x0b1e32'
 | 
			
		||||
foreground = '0xe8eaf7'
 | 
			
		||||
background = '0x300000'
 | 
			
		||||
foreground = '0xffeaec'
 | 
			
		||||
 | 
			
		||||
[colors.normal]
 | 
			
		||||
black   = '0x000505'
 | 
			
		||||
red     = '0xf12875'
 | 
			
		||||
green   = '0x5c68c4'
 | 
			
		||||
yellow  = '0xf2e044'
 | 
			
		||||
red     = '0xdc1a4e'
 | 
			
		||||
green   = '0x3296eb'
 | 
			
		||||
yellow  = '0xc24022'
 | 
			
		||||
blue    = '0x5ab5e0'
 | 
			
		||||
magenta = '0xf5e878'
 | 
			
		||||
cyan    = '0x7983ce'
 | 
			
		||||
magenta = '0xdf5041'
 | 
			
		||||
cyan    = '0x34549b'
 | 
			
		||||
white   = '0xd0f0f0'
 | 
			
		||||
 | 
			
		||||
[colors.bright]
 | 
			
		||||
black   = '0x424253'
 | 
			
		||||
red     = '0xf694bc'
 | 
			
		||||
green   = '0x9fa6dc'
 | 
			
		||||
yellow  = '0xf8ef9e'
 | 
			
		||||
red     = '0xf08ba4'
 | 
			
		||||
green   = '0x8eadf8'
 | 
			
		||||
yellow  = '0xf19892'
 | 
			
		||||
blue    = '0xb9e5f4'
 | 
			
		||||
magenta = '0xfbf5c4'
 | 
			
		||||
cyan    = '0xc5c9ea'
 | 
			
		||||
magenta = '0xf19892'
 | 
			
		||||
cyan    = '0x99bafb'
 | 
			
		||||
white   = '0x7e707e'
 | 
			
		||||
[window]
 | 
			
		||||
opacity = 0.85
 | 
			
		||||
opacity = 0.75
 | 
			
		||||
 
 | 
			
		||||
@@ -1,29 +1,29 @@
 | 
			
		||||
---   # yamllint disable rule:colons
 | 
			
		||||
# do not edit; generated by scwrypts
 | 
			
		||||
# theme : spring-sunset
 | 
			
		||||
# theme : burning-death
 | 
			
		||||
colors:
 | 
			
		||||
  primary:
 | 
			
		||||
    background: '0x0b1e32'
 | 
			
		||||
    foreground: '0xe8eaf7'
 | 
			
		||||
    background: '0x570406'
 | 
			
		||||
    foreground: '0xffeaec'
 | 
			
		||||
  cursor:
 | 
			
		||||
    cursor: '0xfdfbe7'
 | 
			
		||||
    cursor: '0x8eadf8'
 | 
			
		||||
  normal:
 | 
			
		||||
    black:   '0x000505'
 | 
			
		||||
    red:     '0xf12875'
 | 
			
		||||
    green:   '0x5c68c4'
 | 
			
		||||
    yellow:  '0xf2e044'
 | 
			
		||||
    red:     '0xdc1a4e'
 | 
			
		||||
    green:   '0x3296eb'
 | 
			
		||||
    yellow:  '0xc24022'
 | 
			
		||||
    blue:    '0x5ab5e0'
 | 
			
		||||
    magenta: '0xf5e878'
 | 
			
		||||
    cyan:    '0x7983ce'
 | 
			
		||||
    magenta: '0xdf5041'
 | 
			
		||||
    cyan:    '0x34549b'
 | 
			
		||||
    white:   '0xd0f0f0'
 | 
			
		||||
  bright:
 | 
			
		||||
    black:   '0x424253'
 | 
			
		||||
    red:     '0xf694bc'
 | 
			
		||||
    green:   '0x9fa6dc'
 | 
			
		||||
    yellow:  '0xf8ef9e'
 | 
			
		||||
    red:     '0xf08ba4'
 | 
			
		||||
    green:   '0x8eadf8'
 | 
			
		||||
    yellow:  '0xf19892'
 | 
			
		||||
    blue:    '0xb9e5f4'
 | 
			
		||||
    magenta: '0xfbf5c4'
 | 
			
		||||
    cyan:    '0xc5c9ea'
 | 
			
		||||
    magenta: '0xf19892'
 | 
			
		||||
    cyan:    '0x99bafb'
 | 
			
		||||
    white:   '0x7e707e'
 | 
			
		||||
window:
 | 
			
		||||
  opacity: 0.8
 | 
			
		||||
@@ -1,11 +1,11 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
# do not edit; generated by scwrypts
 | 
			
		||||
# theme : spring-sunset
 | 
			
		||||
# theme : burning-death
 | 
			
		||||
#
 | 
			
		||||
# source this file to apply colorscheme to linux getty
 | 
			
		||||
#
 | 
			
		||||
[[ "$TERM" =~ ^linux$ ]] || return 0
 | 
			
		||||
/bin/echo -e " ]P00b1e32 ]P1f12875 ]P25c68c4 ]P3f2e044 ]P45ab5e0 ]P5f5e878 ]P67983ce ]P7e8eaf7 ]P8f694bc ]P99fa6dc ]PAf8ef9e ]PBb9e5f4 ]PCfbf5c4 ]PDc5c9ea ]PEd0f0f0 ]PF7e707e "
 | 
			
		||||
/bin/echo -e " ]P0570406 ]P1dc1a4e ]P23296eb ]P3c24022 ]P45ab5e0 ]P5df5041 ]P634549b ]P7ffeaec ]P8f08ba4 ]P98eadf8 ]PAf19892 ]PBb9e5f4 ]PCf19892 ]PD99bafb ]PEd0f0f0 ]PF7e707e "
 | 
			
		||||
[ ! $NO_CLEAR ] && clear
 | 
			
		||||
return 0
 | 
			
		||||
 sed $d
 | 
			
		||||
 
 | 
			
		||||
@@ -1,23 +1,23 @@
 | 
			
		||||
# do not edit; generated by scwrypts
 | 
			
		||||
# theme : spring-sunset
 | 
			
		||||
# theme : burning-death
 | 
			
		||||
color0 #000505
 | 
			
		||||
color1 #f12875
 | 
			
		||||
color2 #5c68c4
 | 
			
		||||
color3 #f2e044
 | 
			
		||||
color1 #dc1a4e
 | 
			
		||||
color2 #3296eb
 | 
			
		||||
color3 #c24022
 | 
			
		||||
color4 #5ab5e0
 | 
			
		||||
color5 #f5e878
 | 
			
		||||
color6 #7983ce
 | 
			
		||||
color5 #df5041
 | 
			
		||||
color6 #34549b
 | 
			
		||||
color7 #d0f0f0
 | 
			
		||||
color8 #424253
 | 
			
		||||
color9 #f694bc
 | 
			
		||||
color10 #9fa6dc
 | 
			
		||||
color11 #f8ef9e
 | 
			
		||||
color9 #f08ba4
 | 
			
		||||
color10 #8eadf8
 | 
			
		||||
color11 #f19892
 | 
			
		||||
color12 #b9e5f4
 | 
			
		||||
color13 #fbf5c4
 | 
			
		||||
color14 #c5c9ea
 | 
			
		||||
color13 #f19892
 | 
			
		||||
color14 #99bafb
 | 
			
		||||
color15 #7e707e
 | 
			
		||||
cursor #fdfbe7
 | 
			
		||||
background #0b1e32
 | 
			
		||||
foreground #e8eaf7
 | 
			
		||||
cursor #8eadf8
 | 
			
		||||
background #570406
 | 
			
		||||
foreground #ffeaec
 | 
			
		||||
selection_background #
 | 
			
		||||
selection_foreground #
 | 
			
		||||
 
 | 
			
		||||
@@ -1 +1 @@
 | 
			
		||||
spring-sunset
 | 
			
		||||
burning-death
 | 
			
		||||
 
 | 
			
		||||
@@ -1,11 +1,11 @@
 | 
			
		||||
# do not edit; generated by scwrypts
 | 
			
		||||
# theme : spring-sunset
 | 
			
		||||
# theme : burning-death
 | 
			
		||||
[colors]
 | 
			
		||||
background     = #0b1e32
 | 
			
		||||
foreground     = #e8eaf7
 | 
			
		||||
background-alt = #f2e044
 | 
			
		||||
background     = #570406
 | 
			
		||||
foreground     = #ffeaec
 | 
			
		||||
background-alt = #c24022
 | 
			
		||||
foreground-alt = #000505
 | 
			
		||||
primary        = #f2e044
 | 
			
		||||
secondary      = #5c68c4
 | 
			
		||||
alert          = #f12875
 | 
			
		||||
primary        = #c24022
 | 
			
		||||
secondary      = #3296eb
 | 
			
		||||
alert          = #dc1a4e
 | 
			
		||||
disabled       = #424253
 | 
			
		||||
 
 | 
			
		||||
@@ -1,14 +1,14 @@
 | 
			
		||||
/**
 | 
			
		||||
 * do not edit; generated by scwrypts
 | 
			
		||||
 * theme : spring-sunset
 | 
			
		||||
 * theme : burning-death
 | 
			
		||||
 **/
 | 
			
		||||
 | 
			
		||||
*{
 | 
			
		||||
	background:     #0b1e32;
 | 
			
		||||
	background:     #26416e;
 | 
			
		||||
	foreground:     #d0f0f0;
 | 
			
		||||
	background-alt: #f5e878;
 | 
			
		||||
	background-alt: #e77068;
 | 
			
		||||
	foreground-alt: #000505;
 | 
			
		||||
	selected:       #000505;
 | 
			
		||||
	active:         #f2e044;
 | 
			
		||||
	urgent:         #f12875;
 | 
			
		||||
	active:         #c24022;
 | 
			
		||||
	urgent:         #dc1a4e;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1 +1 @@
 | 
			
		||||
/home/w0ryn/.wryn/colorschemes/spring-sunset.yaml
 | 
			
		||||
/home/w0ryn/.wryn/colorschemes/burning-death.yaml
 | 
			
		||||
							
								
								
									
										74
									
								
								colorschemes/burning-death.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										74
									
								
								colorschemes/burning-death.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,74 @@
 | 
			
		||||
---   # yamllint disable rule:colons
 | 
			
		||||
background: .material.primary.900
 | 
			
		||||
foreground: .material.primary.50
 | 
			
		||||
 | 
			
		||||
cursor: .material.secondary.200
 | 
			
		||||
 | 
			
		||||
alacritty:
 | 
			
		||||
  transparency: 0.75
 | 
			
		||||
  background: '#300000'
 | 
			
		||||
 | 
			
		||||
ansi:
 | 
			
		||||
  blue:
 | 
			
		||||
    regular: '#5ab5e0'
 | 
			
		||||
    bright:  '#b9e5f4'
 | 
			
		||||
 | 
			
		||||
  magenta:
 | 
			
		||||
    regular: .material.primary.400
 | 
			
		||||
    bright:  .material.primary.200
 | 
			
		||||
 | 
			
		||||
  cyan:
 | 
			
		||||
    regular: .material.secondary.800
 | 
			
		||||
    bright:  .material.secondary.100
 | 
			
		||||
 | 
			
		||||
material:
 | 
			
		||||
  base:
 | 
			
		||||
    secondary: .material.secondary.400
 | 
			
		||||
    foreground:
 | 
			
		||||
      secondary: .material.foreground.secondary.400
 | 
			
		||||
 | 
			
		||||
  primary:  # replaces ANSI yellow
 | 
			
		||||
    50:  '#ffeaec'
 | 
			
		||||
    100: '#ffccce'
 | 
			
		||||
    200: '#f19892'
 | 
			
		||||
    300: '#e77068'
 | 
			
		||||
    400: '#df5041'
 | 
			
		||||
    500: '#c24022'
 | 
			
		||||
    600: '#b43523'
 | 
			
		||||
    700: '#922b1e'
 | 
			
		||||
    800: '#761316'
 | 
			
		||||
    900: '#570406'
 | 
			
		||||
 | 
			
		||||
  secondary:  # replaces ANSI green
 | 
			
		||||
    50:  '#c3e7fe'
 | 
			
		||||
    100: '#99bafb'
 | 
			
		||||
    200: '#8eadf8'
 | 
			
		||||
    300: '#67a0f1'
 | 
			
		||||
    400: '#3296eb'
 | 
			
		||||
    500: '#3c8ce3'
 | 
			
		||||
    600: '#357ccf'
 | 
			
		||||
    700: '#3c67b4'
 | 
			
		||||
    800: '#34549b'
 | 
			
		||||
    900: '#26416e'
 | 
			
		||||
 | 
			
		||||
  error:  # replaces ANSI red
 | 
			
		||||
    50:  '#fbe3e9'
 | 
			
		||||
    100: '#f6b8c8'
 | 
			
		||||
    200: '#f08ba4'
 | 
			
		||||
    300: '#e95d80'
 | 
			
		||||
    400: '#e23b66'
 | 
			
		||||
    500: '#dc1a4e'
 | 
			
		||||
    600: '#cc154c'
 | 
			
		||||
    700: '#b71148'
 | 
			
		||||
    800: '#a30a45'
 | 
			
		||||
    900: '#7f033f'
 | 
			
		||||
 | 
			
		||||
  foreground:
 | 
			
		||||
    primary:
 | 
			
		||||
      500: .ansi.gray.black
 | 
			
		||||
      600: .ansi.gray.black
 | 
			
		||||
      700: .ansi.gray.black
 | 
			
		||||
      800: .ansi.gray.black
 | 
			
		||||
      900: .ansi.gray.black
 | 
			
		||||
    secondary:
 | 
			
		||||
      400: .ansi.gray.white
 | 
			
		||||
@@ -77,16 +77,17 @@ 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"; exec --no-startup-id polybar-msg cmd show
 | 
			
		||||
bindsym $mod+2 workspace number "2"; exec --no-startup-id polybar-msg cmd hide
 | 
			
		||||
bindsym $mod+3 workspace number "3"; exec --no-startup-id polybar-msg cmd show
 | 
			
		||||
bindsym $mod+4 workspace number "4"; exec --no-startup-id polybar-msg cmd hide
 | 
			
		||||
bindsym $mod+5 workspace number "5"; exec --no-startup-id polybar-msg cmd show
 | 
			
		||||
bindsym $mod+6 workspace number "6"; exec --no-startup-id polybar-msg cmd hide
 | 
			
		||||
bindsym $mod+7 workspace number "7"; exec --no-startup-id polybar-msg cmd show
 | 
			
		||||
bindsym $mod+8 workspace number "8"; exec --no-startup-id polybar-msg cmd hide
 | 
			
		||||
bindsym $mod+9 workspace number "9"; exec --no-startup-id polybar-msg cmd show
 | 
			
		||||
bindsym $mod+0 workspace number "0"; exec --no-startup-id polybar-msg cmd hide
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
bindsym $mod+Shift+1 move container to workspace number "1"
 | 
			
		||||
bindsym $mod+Shift+2 move container to workspace number "2"
 | 
			
		||||
 
 | 
			
		||||
@@ -5,6 +5,9 @@
 | 
			
		||||
SCWRYPTS_SHORTCUT=''     # CTRL + W
 | 
			
		||||
SCWRYPTS_ENV_SHORTCUT='' # CTRL + /
 | 
			
		||||
 | 
			
		||||
SCWRYPTS_ENVIRONMENT__SHOW_ENV_HELP=false
 | 
			
		||||
SCWRYPTS_ENVIRONMENT__PREFERRED_EDIT_MODE=quiet
 | 
			
		||||
 | 
			
		||||
for SEARCH_DIR in \
 | 
			
		||||
	"$HOME/.wryn/scwrypts" \
 | 
			
		||||
	"$HOME/Projects/yage/" \
 | 
			
		||||
 
 | 
			
		||||
@@ -40,22 +40,18 @@ $DOTWRYN/config/xinitrc.i3                        X11/xinitrc
 | 
			
		||||
$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
 | 
			
		||||
$DOTWRYN/config/scwrypts/environments/remote/local			    scwrypts/environments/remote/local
 | 
			
		||||
$DOTWRYN/config/scwrypts/environments/remote/local.altaria      scwrypts/environments/remote/local.altaria
 | 
			
		||||
$DOTWRYN/config/scwrypts/environments/remote/local.blaziken     scwrypts/environments/remote/local.blaziken
 | 
			
		||||
$DOTWRYN/config/scwrypts/environments/remote/local.butterfree   scwrypts/environments/remote/local.butterfree
 | 
			
		||||
$DOTWRYN/config/scwrypts/environments/remote/local.gardevoir    scwrypts/environments/remote/local.gardevoir
 | 
			
		||||
$DOTWRYN/config/scwrypts/environments/remote/local.umbreon      scwrypts/environments/remote/local.umbreon
 | 
			
		||||
$( () {
 | 
			
		||||
	local SOURCE_CONTROLLED_GROUPS=(dotwryn remote scwrypts)
 | 
			
		||||
	local GROUP_MATCH_STRING="\\($(printf '\|%s' ${SOURCE_CONTROLLED_GROUPS[@]} | sed 's/^\\|//')\\)"
 | 
			
		||||
 | 
			
		||||
	local _LOCAL='scwrypts/environments'
 | 
			
		||||
	local _DOTWRYN="$DOTWRYN/config/scwrypts/environments"
 | 
			
		||||
 | 
			
		||||
	find "$HOME/.config/$_LOCAL" -mindepth 1 -maxdepth 1 -name \*.env.yaml \
 | 
			
		||||
		| sed -n "s^.*/\(local\(\.[^.]\+\)\{0,\}\.$GROUP_MATCH_STRING.env.yaml\)$$_DOTWRYN/\1^$_LOCAL/\1p" \
 | 
			
		||||
		| grep -v '\.secret\.' \
 | 
			
		||||
		| sort --unique \
 | 
			
		||||
		| column -ts '^' \
 | 
			
		||||
		;
 | 
			
		||||
} )
 | 
			
		||||
"
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
---  # local.altaria > dotwryn
 | 
			
		||||
# no configuration set
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
---  # local.altaria > remote
 | 
			
		||||
# no configuration set
 | 
			
		||||
							
								
								
									
										11
									
								
								config/scwrypts/environments/local.altaria.scwrypts.env.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								config/scwrypts/environments/local.altaria.scwrypts.env.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
---  # local.altaria > scwrypts
 | 
			
		||||
media-sync:
 | 
			
		||||
  targets:
 | 
			
		||||
    value:
 | 
			
		||||
      - Pictures
 | 
			
		||||
      - Documents
 | 
			
		||||
      - Media
 | 
			
		||||
      - .local/.porn
 | 
			
		||||
      - Games/roms
 | 
			
		||||
      - .local/share/dolphin-emu
 | 
			
		||||
      - Games/archives
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
---  # local.blaziken > dotwryn
 | 
			
		||||
# no configuration set
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
---  # local.blaziken > remote
 | 
			
		||||
# no configuration set
 | 
			
		||||
@@ -0,0 +1,9 @@
 | 
			
		||||
---  # local.blaziken > scwrypts
 | 
			
		||||
media-sync:
 | 
			
		||||
  targets:
 | 
			
		||||
    value:
 | 
			
		||||
      - .local/share/dolphin-emu
 | 
			
		||||
      - Games/roms/gameboy-advance
 | 
			
		||||
      - Games/roms/gameboy-color
 | 
			
		||||
      - Media
 | 
			
		||||
      - Pictures
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
---  # local.butterfree > dotwryn
 | 
			
		||||
# no configuration set
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
---  # local.butterfree > remote
 | 
			
		||||
# no configuration set
 | 
			
		||||
@@ -0,0 +1,10 @@
 | 
			
		||||
---  # local.butterfree > scwrypts
 | 
			
		||||
media-sync:
 | 
			
		||||
  targets:
 | 
			
		||||
    value:
 | 
			
		||||
      - .local/share/dolphin-emu
 | 
			
		||||
      - Games/roms
 | 
			
		||||
      - Games/wrynscape
 | 
			
		||||
      - Documents
 | 
			
		||||
      - Media
 | 
			
		||||
      - Pictures
 | 
			
		||||
							
								
								
									
										6
									
								
								config/scwrypts/environments/local.dotwryn.env.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								config/scwrypts/environments/local.dotwryn.env.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
---  # local > dotwryn
 | 
			
		||||
desktop:
 | 
			
		||||
  sfx-path:
 | 
			
		||||
    value: $HOME/Media/sfx
 | 
			
		||||
  wallpaper-path:
 | 
			
		||||
    value: $HOME/Pictures/bg
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
---  # local.gardevoir > dotwryn
 | 
			
		||||
# no configuration set
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
---  # local.gardevoir > remote
 | 
			
		||||
# no configuration set
 | 
			
		||||
@@ -0,0 +1,7 @@
 | 
			
		||||
---  # local.gardevoir > scwrypts
 | 
			
		||||
media-sync:
 | 
			
		||||
  targets:
 | 
			
		||||
    value:
 | 
			
		||||
      - Documents
 | 
			
		||||
      - Media
 | 
			
		||||
      - Pictures
 | 
			
		||||
							
								
								
									
										2
									
								
								config/scwrypts/environments/local.remote.env.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								config/scwrypts/environments/local.remote.env.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
---  # local > remote
 | 
			
		||||
# no configuration set
 | 
			
		||||
							
								
								
									
										23
									
								
								config/scwrypts/environments/local.scwrypts.env.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								config/scwrypts/environments/local.scwrypts.env.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
---  # local > scwrypts
 | 
			
		||||
aws:
 | 
			
		||||
  account:
 | 
			
		||||
    value: "088935110352"
 | 
			
		||||
  efs:
 | 
			
		||||
    local-mount-point:
 | 
			
		||||
      value: /mnt/efs/yage
 | 
			
		||||
  profile:
 | 
			
		||||
    value: yage
 | 
			
		||||
  region:
 | 
			
		||||
    value: us-east-2
 | 
			
		||||
directus:
 | 
			
		||||
  base-url:
 | 
			
		||||
    value: https://heretic.directus.app
 | 
			
		||||
discord:
 | 
			
		||||
  content-header:
 | 
			
		||||
    value: '<@380809228450922507> '
 | 
			
		||||
media-sync:
 | 
			
		||||
  s3-bucket:
 | 
			
		||||
    value: yage
 | 
			
		||||
twilio:
 | 
			
		||||
  account-sid:
 | 
			
		||||
    value: ACac926b109b3cd8a78685a2a0994d0271
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
---  # local.umbreon > dotwryn
 | 
			
		||||
# no configuration set
 | 
			
		||||
@@ -0,0 +1,2 @@
 | 
			
		||||
---  # local.umbreon > remote
 | 
			
		||||
# no configuration set
 | 
			
		||||
							
								
								
									
										16
									
								
								config/scwrypts/environments/local.umbreon.scwrypts.env.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								config/scwrypts/environments/local.umbreon.scwrypts.env.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
---  # local.umbreon > scwrypts
 | 
			
		||||
discord:
 | 
			
		||||
  default-avatar-url:
 | 
			
		||||
    value: https://heretic.directus.app/assets/9c975a20-d6f3-47f5-8f77-74014f5d0024
 | 
			
		||||
  default-username:
 | 
			
		||||
    value: umbreon
 | 
			
		||||
media-sync:
 | 
			
		||||
  targets:
 | 
			
		||||
    value:
 | 
			
		||||
      - Documents
 | 
			
		||||
      - Pictures
 | 
			
		||||
      - .local/.porn
 | 
			
		||||
      - Media/commission
 | 
			
		||||
      - Media/music
 | 
			
		||||
      - Media/recordings
 | 
			
		||||
      - Media/sfx
 | 
			
		||||
							
								
								
									
										13
									
								
								scwrypts/dotwryn/.config/env.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								scwrypts/dotwryn/.config/env.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
---
 | 
			
		||||
desktop:
 | 
			
		||||
  .DESCRIPTION: >-
 | 
			
		||||
    directory containing sound effects
 | 
			
		||||
  sfx-path:
 | 
			
		||||
    .ENVIRONMENT: DESKTOP__SFX_PATH
 | 
			
		||||
  wallpaper-path:
 | 
			
		||||
    .ENVIRONMENT: DESKTOP__WALLPAPER_PATH
 | 
			
		||||
wryn:
 | 
			
		||||
  .DESCRIPTION: >-
 | 
			
		||||
    home server data
 | 
			
		||||
  server-hostnames:
 | 
			
		||||
    .ENVIRONMENT: WRYN__SERVER_HOSTNAMES
 | 
			
		||||
@@ -20,7 +20,7 @@ MAIN() {
 | 
			
		||||
	case $1 in
 | 
			
		||||
		up )
 | 
			
		||||
			case $UTIL in
 | 
			
		||||
				xbacklight     ) xbacklight + 10 ;;
 | 
			
		||||
				xbacklight     ) xbacklight -inc 10 ;;
 | 
			
		||||
				gmux_backlight ) gmux_backlight +100 ;;
 | 
			
		||||
 | 
			
		||||
				enlighten )
 | 
			
		||||
@@ -31,7 +31,13 @@ MAIN() {
 | 
			
		||||
			;;
 | 
			
		||||
		down )
 | 
			
		||||
			case $UTIL in
 | 
			
		||||
				xbacklight     ) xbacklight - 10     ;;
 | 
			
		||||
				xbacklight     )
 | 
			
		||||
					[[ $(xbacklight -get) -le 10 ]] \
 | 
			
		||||
						&& xbacklight -set 1 \
 | 
			
		||||
						|| xbacklight -dec 10 \
 | 
			
		||||
						;
 | 
			
		||||
					[[ $(xbacklight -get) -le 0 ]] && xbacklight -set 1
 | 
			
		||||
					;;
 | 
			
		||||
				gmux_backlight ) gmux_backlight -100 ;;
 | 
			
		||||
 | 
			
		||||
				enlighten )
 | 
			
		||||
 
 | 
			
		||||
@@ -5,31 +5,31 @@ _GENERATE_THEME__alacritty() {
 | 
			
		||||
	echo "# do not edit; generated by scwrypts
 | 
			
		||||
# theme : $THEME_NAME
 | 
			
		||||
[colors.cursor]
 | 
			
		||||
cursor = '0x$CURSOR'
 | 
			
		||||
cursor = '0x$(_GET_HEX .alacritty.cursor cursor)'
 | 
			
		||||
 | 
			
		||||
[colors.primary]
 | 
			
		||||
background = '0x$BACKGROUND'
 | 
			
		||||
foreground = '0x$FOREGROUND'
 | 
			
		||||
background = '0x$(_GET_HEX .alacritty.background .background)'
 | 
			
		||||
foreground = '0x$(_GET_HEX .alacritty.foreground .foreground)'
 | 
			
		||||
 | 
			
		||||
[colors.normal]
 | 
			
		||||
black   = '0x$BLACK'
 | 
			
		||||
red     = '0x$RED'
 | 
			
		||||
green   = '0x$GREEN'
 | 
			
		||||
yellow  = '0x$YELLOW'
 | 
			
		||||
blue    = '0x$BLUE'
 | 
			
		||||
magenta = '0x$MAGENTA'
 | 
			
		||||
cyan    = '0x$CYAN'
 | 
			
		||||
white   = '0x$WHITE'
 | 
			
		||||
black   = '0x$(_GET_HEX .ansi.gray.black)'
 | 
			
		||||
red     = '0x$(_GET_HEX .ansi.red.regular)'
 | 
			
		||||
green   = '0x$(_GET_HEX .ansi.green.regular)'
 | 
			
		||||
yellow  = '0x$(_GET_HEX .ansi.yellow.regular)'
 | 
			
		||||
blue    = '0x$(_GET_HEX .ansi.blue.regular)'
 | 
			
		||||
magenta = '0x$(_GET_HEX .ansi.magenta.regular)'
 | 
			
		||||
cyan    = '0x$(_GET_HEX .ansi.cyan.regular)'
 | 
			
		||||
white   = '0x$(_GET_HEX .ansi.gray.white)'
 | 
			
		||||
 | 
			
		||||
[colors.bright]
 | 
			
		||||
black   = '0x$BRIGHT_BLACK'
 | 
			
		||||
red     = '0x$BRIGHT_RED'
 | 
			
		||||
green   = '0x$BRIGHT_GREEN'
 | 
			
		||||
yellow  = '0x$BRIGHT_YELLOW'
 | 
			
		||||
blue    = '0x$BRIGHT_BLUE'
 | 
			
		||||
magenta = '0x$BRIGHT_MAGENTA'
 | 
			
		||||
cyan    = '0x$BRIGHT_CYAN'
 | 
			
		||||
white   = '0x$BRIGHT_WHITE'
 | 
			
		||||
black   = '0x$(_GET_HEX .ansi.gray.regular)'
 | 
			
		||||
red     = '0x$(_GET_HEX .ansi.red.bright)'
 | 
			
		||||
green   = '0x$(_GET_HEX .ansi.green.bright)'
 | 
			
		||||
yellow  = '0x$(_GET_HEX .ansi.yellow.bright)'
 | 
			
		||||
blue    = '0x$(_GET_HEX .ansi.blue.bright)'
 | 
			
		||||
magenta = '0x$(_GET_HEX .ansi.magenta.bright)'
 | 
			
		||||
cyan    = '0x$(_GET_HEX .ansi.cyan.bright)'
 | 
			
		||||
white   = '0x$(_GET_HEX .ansi.gray.bright)'
 | 
			
		||||
" | sed '$d' > "$_COLORSCHEME_FILE__alacritty_toml"
 | 
			
		||||
 | 
			
		||||
	# backwards yaml compatibility
 | 
			
		||||
 
 | 
			
		||||
@@ -17,6 +17,8 @@ DEFAULT_MATERIAL_REFERENCES="$ACTIVE_THEME_PATH/default.yaml"
 | 
			
		||||
 | 
			
		||||
DEPENDENCIES+=(sed yq)
 | 
			
		||||
 | 
			
		||||
__CHECK_ENV_VAR DESKTOP__WALLPAPER_PATH --optional
 | 
			
		||||
 | 
			
		||||
#####################################################################
 | 
			
		||||
 | 
			
		||||
MAX_LOOKUP_RECURSION=10
 | 
			
		||||
@@ -226,6 +228,10 @@ SET_THEME() {
 | 
			
		||||
			}
 | 
			
		||||
	done
 | 
			
		||||
 | 
			
		||||
	local WALLPAPER="$(find "$DESKTOP__WALLPAPER_PATH" -type f -name $THEME_NAME.\* 2>/dev/null | head -n1)"
 | 
			
		||||
	[ "$WALLPAPER" ] && command -v feh &>/dev/null \
 | 
			
		||||
		&& feh --bg-fill "$WALLPAPER"
 | 
			
		||||
 | 
			
		||||
	CHECK_ERRORS --no-usage \
 | 
			
		||||
		&& echo "$THEME_NAME" > "$ACTIVE_THEME_PATH/name.txt"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5
									
								
								scwrypts/remote/.config/env.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								scwrypts/remote/.config/env.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
---
 | 
			
		||||
remote-tmux-session:
 | 
			
		||||
  .DESCRIPTION: >-
 | 
			
		||||
    session name for remote connection (default 'remote')
 | 
			
		||||
  .ENVIRONMENT: REMOTE_TMUX_SESSION
 | 
			
		||||
@@ -115,3 +115,4 @@ CloudFlare
 | 
			
		||||
Cloudflare
 | 
			
		||||
test
 | 
			
		||||
When
 | 
			
		||||
exit
 | 
			
		||||
 
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							@@ -25,5 +25,5 @@ nnoremap <S-y> :call ToggleYCM()<CR>
 | 
			
		||||
nnoremap gd :YcmCompleter GoToDefinition<CR>
 | 
			
		||||
 | 
			
		||||
augroup ycm_hover
 | 
			
		||||
       autocmd FileType rust,typescript,javascript,python nnoremap <silent><buffer> ? <Plug>(YCMHover)
 | 
			
		||||
       autocmd FileType rust,typescript,javascript,python nnoremap <silent><buffer> K <Plug>(YCMHover)
 | 
			
		||||
augroup end
 | 
			
		||||
 
 | 
			
		||||
@@ -2,12 +2,12 @@
 | 
			
		||||
" 31.utility-execute.vim wrapper for scwrypts-specific execution
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
function ExecuteScwrypt(scwrypt = '', args = '', output = '', syntax = 'bash')
 | 
			
		||||
function ExecuteScwrypt(scwrypt = '', args = '', output = '', syntax = 'bash', loglevel = '0')
 | 
			
		||||
	let b:scwryptsPrevArgs = a:args
 | 
			
		||||
	call ExecuteCommand('scwrypts -n ' . a:scwrypt . ' -- ' . a:args, a:output, 'shell', a:syntax)
 | 
			
		||||
	call ExecuteCommand('scwrypts --log-level ' . a:loglevel . ' ' . a:scwrypt . ' -- ' . a:args, a:output, 'shell', a:syntax)
 | 
			
		||||
	echom 'scwrypts -n ' . a:scwrypt . '--' . a:args
 | 
			
		||||
endfunction
 | 
			
		||||
 | 
			
		||||
function ExecuteScwryptInteractive(scwrypt = '', args = '', output = '', syntax = 'bash')
 | 
			
		||||
	call ExecuteScwrypt(a:scwrypt, a:args . input('scwrypts ' . a:scwrypt . '--' . a:args), a:output, a:syntax)
 | 
			
		||||
function ExecuteScwryptInteractive(scwrypt = '', args = '', output = '', syntax = 'bash', loglevel = '4')
 | 
			
		||||
	call ExecuteScwrypt(a:scwrypt, a:args . input('scwrypts ' . a:scwrypt . '--' . a:args), a:output, a:syntax, a:loglevel)
 | 
			
		||||
endfunction
 | 
			
		||||
 
 | 
			
		||||
@@ -51,7 +51,7 @@ function QuickREPL(repl = '')
 | 
			
		||||
	let b:quick_repl = l:repl
 | 
			
		||||
 | 
			
		||||
	let l:output = get(g:quickrepl_output_format_overrides_by_repl_command, l:repl, g:quickrepl_output_format_default)
 | 
			
		||||
	let l:repl_args = get(g:quickrepl_repl_command_args, l:repl, '')
 | 
			
		||||
	let l:repl_args = get(g:quickrepl_repl_command_args_by_repl_command, l:repl, '')
 | 
			
		||||
 | 
			
		||||
	call ExecuteCommand(l:repl . ' ' . l:repl_args, l:output)
 | 
			
		||||
endfunction
 | 
			
		||||
 
 | 
			
		||||
@@ -25,7 +25,12 @@
 | 
			
		||||
let g:quick_command_output_format = 'split-pane-horizontal'
 | 
			
		||||
 | 
			
		||||
function QuickCommand()
 | 
			
		||||
	let l:quick_command = get(b:, 'quick_command', '')
 | 
			
		||||
	let l:quick_command = get(g:, 'quick_command', '')
 | 
			
		||||
 | 
			
		||||
	if ( l:quick_command == '' )
 | 
			
		||||
		let l:quick_command = get(b:, 'quick_command', '')
 | 
			
		||||
	endif
 | 
			
		||||
 | 
			
		||||
	if ( l:quick_command == '' )
 | 
			
		||||
		let l:quick_command = input('input quick command : ') | redraw
 | 
			
		||||
	endif
 | 
			
		||||
@@ -40,4 +45,26 @@ function QuickCommand()
 | 
			
		||||
	call ExecuteCommand(l:quick_command, g:quick_command_output_format)
 | 
			
		||||
endfunction
 | 
			
		||||
 | 
			
		||||
nnoremap <Leader>t	:call QuickCommand()<CR>
 | 
			
		||||
function QuickCommandSetGlobal()
 | 
			
		||||
	let l:quick_command = get(b:, 'quick_command', '')
 | 
			
		||||
 | 
			
		||||
	if ( l:quick_command == '' )
 | 
			
		||||
		let l:quick_command = input('input quick command : ') | redraw
 | 
			
		||||
	endif
 | 
			
		||||
 | 
			
		||||
	if ( l:quick_command == '' )
 | 
			
		||||
		echohl DiffDelete | echo "no command supplied" | echohl None
 | 
			
		||||
		return
 | 
			
		||||
	endif
 | 
			
		||||
 | 
			
		||||
	let g:quick_command = l:quick_command
 | 
			
		||||
endfunction
 | 
			
		||||
 | 
			
		||||
function QuickCommandReset()
 | 
			
		||||
	let b:quick_command = ''
 | 
			
		||||
	let g:quick_command = ''
 | 
			
		||||
endfunction
 | 
			
		||||
 | 
			
		||||
nnoremap <Leader>t	    :call QuickCommand()<CR>
 | 
			
		||||
nnoremap <Leader>gst    :call QuickCommandSetGlobal()<CR>
 | 
			
		||||
"nnoremap <LocalLeader>t :call QuickCommandReset()<CR>
 | 
			
		||||
 
 | 
			
		||||
@@ -63,9 +63,9 @@ augroup file_specific_commands
 | 
			
		||||
	autocmd FileType *.scwrypts let b:scwryptsEnvs       = split(system('scwrypts --list-envs'), '\n')
 | 
			
		||||
	autocmd FileType *.scwrypts let b:scwryptsEnvChoices = split(system('echo SCWRYPTS_ENV=; scwrypts --list-envs | awk "{print \"\"NR\". \"\$0}"'), '\n')
 | 
			
		||||
 | 
			
		||||
	autocmd FileType *.scwrypts let b:executeDefault     = "call ExecuteScwrypt(b:scwryptsAutoName, ' ', 'split-pane-vertical')"
 | 
			
		||||
	autocmd FileType *.scwrypts let b:executeInteractive = "call ExecuteScwryptInteractive(b:scwryptsAutoName, ' ', 'split-pane-vertical')"
 | 
			
		||||
	autocmd FileType *.scwrypts let b:executeDefault     = "call ExecuteScwrypt(b:scwryptsAutoName, ' ', 'split-pane-horizontal', 'bash', '4')"
 | 
			
		||||
	autocmd FileType *.scwrypts let b:executeInteractive = "call ExecuteScwryptInteractive(b:scwryptsAutoName, ' ', 'split-pane-horizontal')"
 | 
			
		||||
	autocmd FileType *.scwrypts let b:executeBuild       = "let $SCWRYPTS_ENV=b:scwryptsEnvs[inputlist(b:scwryptsEnvChoices) - 1]"
 | 
			
		||||
	autocmd FileType *.scwrypts let b:executeTest        = "call ExecuteScwrypt(b:scwryptsAutoName, b:scwryptsPrevArgs, 'split-pane-vertical')"
 | 
			
		||||
	autocmd FileType *.scwrypts let b:executeTest        = "call ExecuteScwrypt(b:scwryptsAutoName, b:scwryptsPrevArgs, 'split-pane-horizontal', 'bash', '4')"
 | 
			
		||||
augroup end
 | 
			
		||||
" }}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user