config swap & a couple of bugs

This commit is contained in:
2025-08-09 09:26:07 -06:00
parent 882ea6ebc1
commit 0efb33c947
24 changed files with 158 additions and 137 deletions

View File

View File

View File

BIN
config/code-activator.conf Normal file

Binary file not shown.

View File

@@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
# do not edit; generated by scwrypts # do not edit; generated by scwrypts
# theme : main # theme : spring-sunset
# #
# source this file to apply colorscheme to linux getty # source this file to apply colorscheme to linux getty
# #
[[ "$TERM" =~ ^linux$ ]] || return 0 [[ "$TERM" =~ ^linux$ ]] || return 0
/bin/echo -e " ]P0000505 ]P1c80064 ]P211bb98 ]P36911aa ]P42262bb ]P59922dd ]P622ccba ]P7d0f0f0 ]P8ff44ff ]P944dddd ]PAaa44ff ]PB229df6 ]PCdd88ff ]PD88ffff ]PEd0f0f0 ]PF7e707e " /bin/echo -e " ]P00b1e32 ]P1f12875 ]P25c68c4 ]P3f2e044 ]P45ab5e0 ]P5f5e878 ]P67983ce ]P7e8eaf7 ]P8f694bc ]P99fa6dc ]PAf8ef9e ]PBb9e5f4 ]PCfbf5c4 ]PDc5c9ea ]PEd0f0f0 ]PF7e707e "
[ ! $NO_CLEAR ] && clear [ ! $NO_CLEAR ] && clear
return 0 return 0
sed $d sed $d

View File

@@ -1 +1 @@
main spring-sunset

View File

@@ -1,14 +1,14 @@
/** /**
* do not edit; generated by scwrypts * do not edit; generated by scwrypts
* theme : main * theme : spring-sunset
**/ **/
*{ *{
background: #001129; background: #0b1e32;
foreground: #d0f0f0; foreground: #d0f0f0;
background-alt: #9922dd; background-alt: #f5e878;
foreground-alt: #000505; foreground-alt: #000505;
selected: #000505; selected: #000505;
active: #6911aa; active: #f2e044;
urgent: #c80064; urgent: #f12875;
} }

View File

@@ -1 +1 @@
../main.yaml ../spring-sunset.yaml

View File

@@ -157,8 +157,39 @@ bindsym $mod+Shift+c reload
# i3-gaps settings # i3-gaps settings
for_window [class="^.*"] border pixel 4 for_window [class="^.*"] border pixel 4
gaps inner 0 hide_edge_borders smart_no_gaps
gaps outer 0
workspace "1" gaps inner 8
workspace "1" gaps outer 8
workspace "2" gaps inner 0
workspace "2" gaps outer 0
workspace "3" gaps inner 8
workspace "3" gaps outer 8
workspace "4" gaps inner 0
workspace "4" gaps outer 0
workspace "5" gaps inner 8
workspace "5" gaps outer 8
workspace "6" gaps inner 0
workspace "6" gaps outer 0
workspace "7" gaps inner 8
workspace "7" gaps outer 8
workspace "8" gaps inner 0
workspace "8" gaps outer 0
workspace "9" gaps inner 8
workspace "9" gaps outer 8
workspace "🎧" gaps inner 0
workspace "🎧" gaps outer 0
workspace "🎮" gaps inner 0
workspace "🎮" gaps outer 0
bindsym $mod+z gaps outer current plus 2; gaps inner current plus 2; bindsym $mod+z gaps outer current plus 2; gaps inner current plus 2;

View File

@@ -14,8 +14,13 @@ application-launcher: >-
# dmenu_run -c -l 5 -fn 'DejaVuSansMono Nerd Font-25' # dmenu_run -c -l 5 -fn 'DejaVuSansMono Nerd Font-25'
gaps: gaps:
inner: 0 odd:
outer: 0 inner: 8
outer: 8
even:
inner: 0
outer: 0
statusbar: statusbar:
# supported values are 'polybar' and 'i3status' # supported values are 'polybar' and 'i3status'

View File

@@ -1,12 +0,0 @@
#!/bin/zsh
source ${0:a:h}/xorg.zsh
xrandr --output $XRANDR_OUTPUT__smol --off
XRANDR_SET \
--compositing disable \
--screen-blank disable \
--background link-vs-gdizz.jpg \
--sound-effect gamedock \
${XRANDR_ARGS__livingroom__1080p[@]} --pos 0x0 --primary \
;

View File

@@ -1,12 +0,0 @@
#!/bin/zsh
source ${0:a:h}/xorg.zsh
xrandr --output $XRANDR_OUTPUT__smol --off
XRANDR_SET \
--compositing disable \
--screen-blank disable \
--background vegeta.jpg \
--sound-effect gamedock \
${XRANDR_ARGS__livingroom__4k[@]} --pos 0x0 --primary --rate 119.88 \
;

View File

@@ -4,9 +4,9 @@ tmux new -d -s apps -n 'foreman' 'htop' \; \
split-window -d -t apps:foreman "clear; echo 'Keeping apps fresh...'; while true; do sleep 30; done" \ split-window -d -t apps:foreman "clear; echo 'Keeping apps fresh...'; while true; do sleep 30; done" \
2>/dev/null 2>/dev/null
for APP in $(find "${0:a:h}" -name apps.\*) for APP in $(find "${0:a:h}" -name apps.\* | sed 's/.*apps\.//')
do do
echo "looking for $APP" echo "looking for $APP"
tmux list-windows -t apps: | awk '{print $2;}' | grep -q $APP \ tmux list-windows -t apps: | awk '{print $2;}' | grep -q $APP \
|| tmux new-window -dn $APP -t apps: "${0:a:h}/$APP" || tmux new-window -dn $APP -t apps: "${0:a:h}/apps.$APP"
done done

View File

@@ -1,9 +1,9 @@
#!/bin/zsh #!/bin/zsh
source ${0:a:h}/xorg.zsh $@ [ $1 ] && RESOLUTION=$1 || RESOLUTION=4k
source ${0:a:h}/xorg.zsh ${RESOLUTION} ${@:2}
#DISABLE+=(livingroom) #DISABLE+=(splitter)
DISABLE+=(bedroom) DISABLE+=(desk)
DISABLE+=(smol)
XRANDR_OFF ${DISABLE[@]} XRANDR_OFF ${DISABLE[@]}
@@ -11,5 +11,5 @@ XRANDR_SET \
--compositing enable \ --compositing enable \
--screen-blank disable \ --screen-blank disable \
--sound-effect gamedock \ --sound-effect gamedock \
${XRANDR_ARGS__livingroom[@]} --pos 0x0 --primary \ ${XRANDR_ARGS__splitter[@]} --pos 0x0 --primary \
; ;

View File

@@ -4,22 +4,13 @@ source ${0:a:h}/xorg.zsh ${RESOLUTION} ${@:2}
case $MONITOR_CONFIGURATION in case $MONITOR_CONFIGURATION in
( home ) ( home )
xrandr --output DP-4 --off # I'm trying out using just HDMI for a bit
XRANDR_SET \ XRANDR_SET \
--compositing enable \ --compositing enable \
--screen-blank disable \ --screen-blank disable \
--sound-effect login \ --sound-effect login \
--background ${I3_DEFAULT_THEME_BACKGROUND} \ --background ${I3_DEFAULT_THEME_BACKGROUND} \
${XRANDR_ARGS__livingroom[@]} --pos 0x0 \ ${XRANDR_ARGS__splitter[@]} --pos 0x0 --primary \
${XRANDR_ARGS__bedroom[@]} --pos 0x0 \
${XRANDR_ARGS__smol[@]} --pos 0x0 --primary \
;;
( unknown ) # temporary office setup
xrandr --output DP-4 --mode 2560x1440 --pos 0x0 --primary
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
scwrypts desktop screen blank -- disable
"${DOTWRYN}/bin/polybar"
return 0
;; ;;
( unknown ) ( unknown )

View File

@@ -1,9 +1,9 @@
#!/bin/zsh #!/bin/zsh
source ${0:a:h}/xorg.zsh $@ [ $1 ] && RESOLUTION=$1 || RESOLUTION=4k
source ${0:a:h}/xorg.zsh ${RESOLUTION} ${@:2}
DISABLE+=(livingroom) DISABLE+=(splitter)
DISABLE+=(bedroom) #DISABLE+=(desk)
#DISABLE+=(smol)
XRANDR_OFF ${DISABLE[@]} XRANDR_OFF ${DISABLE[@]}
@@ -11,5 +11,5 @@ XRANDR_SET \
--compositing enable \ --compositing enable \
--screen-blank disable \ --screen-blank disable \
--sound-effect gamedock \ --sound-effect gamedock \
${XRANDR_ARGS__smol[@]} --pos 0x0 --primary \ ${XRANDR_ARGS__desk[@]} --pos 0x0 --primary \
; ;

View File

@@ -1,20 +1,18 @@
#!/bin/zsh #!/bin/zsh
##################################################################### #####################################################################
XRANDR_OUTPUT__livingroom='HDMI-0' XRANDR_OUTPUT__splitter='HDMI-0'
XRANDR_OUTPUT__bedroom='DP-0' XRANDR_OUTPUT__desk='DP-4'
XRANDR_OUTPUT__smol='DP-4'
I3_DEFAULT_THEME_BACKGROUND=$(scwrypts -n get theme).jpg I3_DEFAULT_THEME_BACKGROUND=$(scwrypts -n get theme).jpg
MONITOR_CONFIGURATION=unknown MONITOR_CONFIGURATION=unknown
: \ : \
&& xrandr --query | grep -q "^${XRANDR_OUTPUT__livingroom} connected" \ && xrandr --query | grep -q "^${XRANDR_OUTPUT__splitter} connected" \
&& xrandr --query | grep -q "^${XRANDR_OUTPUT__bedroom} connected" \
&& xrandr --query | grep -q "^${XRANDR_OUTPUT__smol} connected" \
&& MONITOR_CONFIGURATION=home \ && MONITOR_CONFIGURATION=home \
; ;
#&& xrandr --query | grep -q "^${XRANDR_OUTPUT__desk} connected" \
##################################################################### #####################################################################
@@ -24,9 +22,8 @@ case $1 in
XRANDR_OFFSET_X=1920 XRANDR_OFFSET_X=1920
XRANDR_OFFSET_Y=1080 XRANDR_OFFSET_Y=1080
EXTRA_ARGS__livingroom=() EXTRA_ARGS__splitter=()
EXTRA_ARGS__bedroom=() EXTRA_ARGS__desk=()
EXTRA_ARGS__smol=()
I3_BACKGROUND=link-vs-gdizz.jpg I3_BACKGROUND=link-vs-gdizz.jpg
;; ;;
@@ -36,9 +33,8 @@ case $1 in
XRANDR_OFFSET_X=2560 XRANDR_OFFSET_X=2560
XRANDR_OFFSET_Y=1440 XRANDR_OFFSET_Y=1440
EXTRA_ARGS__livingroom=() EXTRA_ARGS__splitter=(--rate 120.00)
EXTRA_ARGS__bedroom=() EXTRA_ARGS__desk=()
EXTRA_ARGS__smol=()
I3_BACKGROUND=roy-art.jpg I3_BACKGROUND=roy-art.jpg
;; ;;
@@ -48,9 +44,8 @@ case $1 in
XRANDR_OFFSET_X=3840 XRANDR_OFFSET_X=3840
XRANDR_OFFSET_Y=2160 XRANDR_OFFSET_Y=2160
EXTRA_ARGS__livingroom=() EXTRA_ARGS__splitter=(--rate 120.00)
EXTRA_ARGS__bedroom=() EXTRA_ARGS__desk=(--rate 120.00)
EXTRA_ARGS__smol=(--rate 239.99)
I3_BACKGROUND=${I3_DEFAULT_THEME_BACKGROUND[@]} I3_BACKGROUND=${I3_DEFAULT_THEME_BACKGROUND[@]}
;; ;;
@@ -62,9 +57,8 @@ case $1 in
esac esac
XRANDR_ARGS__livingroom=(--output ${XRANDR_OUTPUT__livingroom[@]} ${XRANDR_MODE[@]} ${EXTRA_ARGS__livingroom[@]}) XRANDR_ARGS__splitter=(--output ${XRANDR_OUTPUT__splitter[@]} ${XRANDR_MODE[@]} ${EXTRA_ARGS__splitter[@]})
XRANDR_ARGS__bedroom=(--output ${XRANDR_OUTPUT__bedroom[@]} ${XRANDR_MODE[@]} ${EXTRA_ARGS__bedroom[@]}) XRANDR_ARGS__desk=(--output ${XRANDR_OUTPUT__desk[@]} ${XRANDR_MODE[@]} ${EXTRA_ARGS__desk[@]})
XRANDR_ARGS__smol=(--output ${XRANDR_OUTPUT__smol[@]} ${XRANDR_MODE[@]} ${EXTRA_ARGS__smol[@]})
########################################## ##########################################
@@ -133,5 +127,5 @@ XRANDR_SET() {
scwrypts desktop screen blank -- ${SCREEN_BLANK} scwrypts desktop screen blank -- ${SCREEN_BLANK}
scwrypts desktop i3 set background -- ${BACKGROUND} || scwrypts desktop i3 set background -- purple.jpg scwrypts desktop i3 set background -- ${BACKGROUND} || scwrypts desktop i3 set background -- purple.jpg
"${DOTWRYN}/bin/polybar" "${DOTWRYN}/bin/polybar"
scwrypts desktop play sound -- ${SOUND_EFFECT} scwrypts media play sfx -- ${SOUND_EFFECT}
} }

View File

@@ -0,0 +1,19 @@
#
# scwrypts dot-files config
#
#TERMINFO_PATH=/path/to/sourced/terminfo/files
#
# SAFE_SYMLINKS=1, makes a backup of config files that already exist
# SAFE_SYMLINKS=0, deletes existing config file
#
#SAFE_SYMLINKS=1
# lines which begin with '#' are ignored
SYMLINKS="
# fully qualified path ~/.config/THE-REST
# ---------------------------------------------
# /path/to/your/kitty.conf kitty/kitty.conf
"

View File

@@ -1,28 +1,30 @@
# do not edit; generated by scwrypts # do not edit; generated by scwrypts
# theme : main # theme : spring-sunset
[colors.cursor] [colors.cursor]
cursor = '0xeeddff' cursor = '0xfdfbe7'
[colors.primary] [colors.primary]
background = '0x000505' background = '0x0b1e32'
foreground = '0xd0f0f0' foreground = '0xe8eaf7'
[colors.normal] [colors.normal]
black = '0x000505' black = '0x000505'
red = '0xc80064' red = '0xf12875'
green = '0x11bb98' green = '0x5c68c4'
yellow = '0x6911aa' yellow = '0xf2e044'
blue = '0x2262bb' blue = '0x5ab5e0'
magenta = '0x9922dd' magenta = '0xf5e878'
cyan = '0x22ccba' cyan = '0x7983ce'
white = '0xd0f0f0' white = '0xd0f0f0'
[colors.bright] [colors.bright]
black = '0x424253' black = '0x424253'
red = '0xff44ff' red = '0xf694bc'
green = '0x44dddd' green = '0x9fa6dc'
yellow = '0xaa44ff' yellow = '0xf8ef9e'
blue = '0x229df6' blue = '0xb9e5f4'
magenta = '0xdd88ff' magenta = '0xfbf5c4'
cyan = '0x88ffff' cyan = '0xc5c9ea'
white = '0x7e707e' white = '0x7e707e'
[window]
opacity = 0.85

View File

@@ -1,18 +1,18 @@
[General] [General]
contrastOpacity=188 contrastOpacity=188
contrastUiColor=#11bb98 contrastUiColor=#5c68c4
disabledTrayIcon=false disabledTrayIcon=false
drawColor=#6911aa drawColor=#f12875
drawThickness=9 drawThickness=8
filenamePattern=%Y-%m-%d_%I%H.SCREENSHOT filenamePattern=%Y-%m-%d_%I%H.SCREENSHOT
saveAsFileExtension=png saveAsFileExtension=png
savePath=/home/w0ryn/Pictures/screenshot savePath=/home/w0ryn/Pictures/screenshot
showSidePanelButton=false showSidePanelButton=false
showStartupLaunchMessage=false showStartupLaunchMessage=false
uiColor=#490099 uiColor=#f0ce3f
undoLimit=100 undoLimit=100
uploadClientSecret= uploadClientSecret=
userColors=picker, #aa44ff, #6911aa, #220069, #44dddd, #00aa79, #006922, #c80064, #ff44ff, #d0f0f0 userColors=picker, #f8ef9e, #f2e044, #e9a02f, #9fa6dc, #404db9, #293097, #f12875, #f694bc, #000505
[Shortcuts] [Shortcuts]
TYPE_ARROW=E TYPE_ARROW=E

View File

@@ -1,23 +1,23 @@
# do not edit; generated by scwrypts # do not edit; generated by scwrypts
# theme : main # theme : spring-sunset
color0 #000505 color0 #000505
color1 #c80064 color1 #f12875
color2 #11bb98 color2 #5c68c4
color3 #6911aa color3 #f2e044
color4 #2262bb color4 #5ab5e0
color5 #9922dd color5 #f5e878
color6 #22ccba color6 #7983ce
color7 #d0f0f0 color7 #d0f0f0
color8 #424253 color8 #424253
color9 #ff44ff color9 #f694bc
color10 #44dddd color10 #9fa6dc
color11 #aa44ff color11 #f8ef9e
color12 #229df6 color12 #b9e5f4
color13 #dd88ff color13 #fbf5c4
color14 #88ffff color14 #c5c9ea
color15 #7e707e color15 #7e707e
cursor #eeddff cursor #fdfbe7
background #000505 background #0b1e32
foreground #d0f0f0 foreground #e8eaf7
selection_background # selection_background #
selection_foreground # selection_foreground #

View File

@@ -1,23 +1,23 @@
# do not edit; generated by scwrypts # do not edit; generated by scwrypts
# theme : main # theme : spring-sunset
[colors] [colors]
background = #000505 background = #0b1e32
foreground = #d0f0f0 foreground = #e8eaf7
background-alt = #6911aa background-alt = #f2e044
foreground-alt = #d0f0f0 foreground-alt = #000505
primary = #6911aa primary = #f2e044
secondary = #11bb98 secondary = #5c68c4
alert = #c80064 alert = #f12875
disabled = #424253 disabled = #424253
primary-gradient-0 = #420069 primary-gradient-0 = #ecb737
primary-gradient-1 = #490099 primary-gradient-1 = #f0ce3f
primary-gradient-2 = #6911aa primary-gradient-2 = #f2e044
primary-gradient-3 = #8811cc primary-gradient-3 = #f3e35d
primary-gradient-4 = #9922dd primary-gradient-4 = #f5e878
secondary-gradient-0 = #006942 secondary-gradient-0 = #313ba3
secondary-gradient-1 = #009949 secondary-gradient-1 = #3a45af
secondary-gradient-2 = #00aa79 secondary-gradient-2 = #404db9
secondary-gradient-3 = #11bb98 secondary-gradient-3 = #5c68c4
secondary-gradient-4 = #22ccba secondary-gradient-4 = #7983ce

View File

@@ -62,8 +62,11 @@ ${scwryptsmodule}() {
s^\([ ]\+status_command\) .*$\1 $(GET .bar.status) s^\([ ]\+status_command\) .*$\1 $(GET .bar.status)
s^\(set \$refresh_statusbar\) .*$\1 $(GET .bar.refresh) s^\(set \$refresh_statusbar\) .*$\1 $(GET .bar.refresh)
s/^\(gaps inner\) .*$/\1 $(GET .gaps.inner)/ s/^\(workspace \"[13579]\" gaps inner\) .*$/\1 $(GET .gaps.odd.inner)/
s/^\(gaps outer\) .*$/\1 $(GET .gaps.outer)/ s/^\(workspace \"[13579]\" gaps outer\) .*$/\1 $(GET .gaps.odd.outer)/
s/^\(workspace \"[24680]\" gaps inner\) .*$/\1 $(GET .gaps.even.inner)/
s/^\(workspace \"[24680]\" gaps outer\) .*$/\1 $(GET .gaps.even.outer)/
s/^\(# color settings\).*$/\1 (theme '$(basename $(readlink -f "$DOTWRYN/config/colorschemes/active/main.conf") | sed 's/\.conf//')')/ s/^\(# color settings\).*$/\1 (theme '$(basename $(readlink -f "$DOTWRYN/config/colorschemes/active/main.conf") | sed 's/\.conf//')')/

View File

@@ -97,7 +97,7 @@ do
scwrypts --name test --group remote --type zsh \ scwrypts --name test --group remote --type zsh \
-- \ -- \
--name ${REMOTE_NAME} \ --name ${REMOTE_NAME} \
--command 'command -v tmux' \ --command 'source ~/.zprofile &>/dev/null; command -v tmux' \
&>>"${OMNI_LOGFILE}" \ &>>"${OMNI_LOGFILE}" \
&& export CAN_CONNECT__${REMOTE_NAME}=true \ && export CAN_CONNECT__${REMOTE_NAME}=true \
|| export CAN_CONNECT__${REMOTE_NAME}=false \ || export CAN_CONNECT__${REMOTE_NAME}=false \