Compare commits
	
		
			13 Commits
		
	
	
		
			623828461e
			...
			f6acbd3cb7
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						f6acbd3cb7
	
				 | 
					
					
						|||
| 
						
						
							
						
						7c2d35cd30
	
				 | 
					
					
						|||
| 
						
						
							
						
						d3fd54049d
	
				 | 
					
					
						|||
| 
						
						
							
						
						60bc819ba7
	
				 | 
					
					
						|||
| 
						
						
							
						
						4227e1697f
	
				 | 
					
					
						|||
| 
						
						
							
						
						3264693663
	
				 | 
					
					
						|||
| 
						
						
							
						
						5276d2fb79
	
				 | 
					
					
						|||
| 
						
						
							
						
						af6c15c774
	
				 | 
					
					
						|||
| 
						
						
							
						
						0db79302d7
	
				 | 
					
					
						|||
| 
						
						
							
						
						a20d23ad5e
	
				 | 
					
					
						|||
| 
						
						
							
						
						a3410d9b15
	
				 | 
					
					
						|||
| 
						
						
							
						
						f11c6dfad6
	
				 | 
					
					
						|||
| 
						
						
							
						
						1b70e44700
	
				 | 
					
					
						
@@ -1,28 +0,0 @@
 | 
			
		||||
# do not edit; generated by scwrypts
 | 
			
		||||
# theme : halloween
 | 
			
		||||
[colors.cursor]
 | 
			
		||||
cursor = '0xefe5f9'
 | 
			
		||||
 | 
			
		||||
[colors.primary]
 | 
			
		||||
background = '0x000505'
 | 
			
		||||
foreground = '0xd0f0f0'
 | 
			
		||||
 | 
			
		||||
[colors.normal]
 | 
			
		||||
black   = '0x000505'
 | 
			
		||||
red     = '0x00f900'
 | 
			
		||||
green   = '0xff6f00'
 | 
			
		||||
yellow  = '0x8b41d5'
 | 
			
		||||
blue    = '0xac0041'
 | 
			
		||||
magenta = '0x750dcc'
 | 
			
		||||
cyan    = '0x00f900'
 | 
			
		||||
white   = '0xd0f0f0'
 | 
			
		||||
 | 
			
		||||
[colors.bright]
 | 
			
		||||
black   = '0x424253'
 | 
			
		||||
red     = '0xa3ff90'
 | 
			
		||||
green   = '0xffe082'
 | 
			
		||||
yellow  = '0xbb94e6'
 | 
			
		||||
blue    = '0xff283e'
 | 
			
		||||
magenta = '0xd6bff0'
 | 
			
		||||
cyan    = '0xcbffbe'
 | 
			
		||||
white   = '0x7e707e'
 | 
			
		||||
@@ -1,27 +0,0 @@
 | 
			
		||||
---   # yamllint disable rule:colons
 | 
			
		||||
# do not edit; generated by scwrypts
 | 
			
		||||
# theme : halloween
 | 
			
		||||
colors:
 | 
			
		||||
  primary:
 | 
			
		||||
    background: '0x000505'
 | 
			
		||||
    foreground: '0xd0f0f0'
 | 
			
		||||
  cursor:
 | 
			
		||||
    cursor: '0xefe5f9'
 | 
			
		||||
  normal:
 | 
			
		||||
    black:   '0x000505'
 | 
			
		||||
    red:     '0x00f900'
 | 
			
		||||
    green:   '0xff6f00'
 | 
			
		||||
    yellow:  '0x8b41d5'
 | 
			
		||||
    blue:    '0xac0041'
 | 
			
		||||
    magenta: '0x750dcc'
 | 
			
		||||
    cyan:    '0x00f900'
 | 
			
		||||
    white:   '0xd0f0f0'
 | 
			
		||||
  bright:
 | 
			
		||||
    black:   '0x424253'
 | 
			
		||||
    red:     '0xa3ff90'
 | 
			
		||||
    green:   '0xffe082'
 | 
			
		||||
    yellow:  '0xbb94e6'
 | 
			
		||||
    blue:    '0xff283e'
 | 
			
		||||
    magenta: '0xd6bff0'
 | 
			
		||||
    cyan:    '0xcbffbe'
 | 
			
		||||
    white:   '0x7e707e'
 | 
			
		||||
@@ -1,11 +0,0 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
# do not edit; generated by scwrypts
 | 
			
		||||
# theme : halloween
 | 
			
		||||
#
 | 
			
		||||
# source this file to apply colorscheme to linux getty
 | 
			
		||||
#
 | 
			
		||||
[[ "$TERM" =~ ^linux$ ]] || return 0
 | 
			
		||||
/bin/echo -e " ]P0000505 ]P100f900 ]P2ff6f00 ]P38b41d5 ]P4ac0041 ]P5750dcc ]P600f900 ]P7d0f0f0 ]P8a3ff90 ]P9ffe082 ]PAbb94e6 ]PBff283e ]PCd6bff0 ]PDcbffbe ]PEd0f0f0 ]PF7e707e "
 | 
			
		||||
[ ! $NO_CLEAR ] && clear
 | 
			
		||||
return 0
 | 
			
		||||
 sed $d
 | 
			
		||||
@@ -1,23 +0,0 @@
 | 
			
		||||
# do not edit; generated by scwrypts
 | 
			
		||||
# theme : halloween
 | 
			
		||||
color0 #000505
 | 
			
		||||
color1 #00f900
 | 
			
		||||
color2 #ff6f00
 | 
			
		||||
color3 #8b41d5
 | 
			
		||||
color4 #ac0041
 | 
			
		||||
color5 #750dcc
 | 
			
		||||
color6 #00f900
 | 
			
		||||
color7 #d0f0f0
 | 
			
		||||
color8 #424253
 | 
			
		||||
color9 #a3ff90
 | 
			
		||||
color10 #ffe082
 | 
			
		||||
color11 #bb94e6
 | 
			
		||||
color12 #ff283e
 | 
			
		||||
color13 #d6bff0
 | 
			
		||||
color14 #cbffbe
 | 
			
		||||
color15 #7e707e
 | 
			
		||||
cursor #efe5f9
 | 
			
		||||
background #000505
 | 
			
		||||
foreground #d0f0f0
 | 
			
		||||
selection_background #
 | 
			
		||||
selection_foreground #
 | 
			
		||||
@@ -1 +0,0 @@
 | 
			
		||||
halloween
 | 
			
		||||
@@ -1,14 +0,0 @@
 | 
			
		||||
/**
 | 
			
		||||
 * do not edit; generated by scwrypts
 | 
			
		||||
 * theme : halloween
 | 
			
		||||
 **/
 | 
			
		||||
 | 
			
		||||
*{
 | 
			
		||||
	background:     #ff6f00;
 | 
			
		||||
	foreground:     #000505;
 | 
			
		||||
	background-alt: #a066dd;
 | 
			
		||||
	foreground-alt: #000505;
 | 
			
		||||
	selected:       #000505;
 | 
			
		||||
	active:         #8b41d5;
 | 
			
		||||
	urgent:         #00f900;
 | 
			
		||||
}
 | 
			
		||||
@@ -1 +0,0 @@
 | 
			
		||||
/home/w0ryn/.wryn/colorschemes/halloween.yaml
 | 
			
		||||
@@ -1,22 +0,0 @@
 | 
			
		||||
---  # yamllint disable rule:colons
 | 
			
		||||
# DEPRECATED; please refer to alacritty.toml
 | 
			
		||||
import:
 | 
			
		||||
  - ~/.config/alacritty/theme.yml
 | 
			
		||||
  - ~/.config/alacritty/local.yml
 | 
			
		||||
 | 
			
		||||
window:
 | 
			
		||||
  opacity: 0.8
 | 
			
		||||
 | 
			
		||||
font:
 | 
			
		||||
  glyph_offset:
 | 
			
		||||
    x: 0
 | 
			
		||||
    y: 1
 | 
			
		||||
 | 
			
		||||
  normal:
 | 
			
		||||
    family: Monaspace Neon
 | 
			
		||||
 | 
			
		||||
  bold:
 | 
			
		||||
    family: Monaspace Argon
 | 
			
		||||
 | 
			
		||||
  italic:
 | 
			
		||||
    family: Monaspace Radon
 | 
			
		||||
							
								
								
									
										38
									
								
								config/bin/arch-linux-rank-mirrors
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										38
									
								
								config/bin/arch-linux-rank-mirrors
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
#!/usr/bin/env zsh
 | 
			
		||||
 | 
			
		||||
command -v /usr/bin/rankmirrors &>/dev/null || {
 | 
			
		||||
	echo "missing 'rankmirrors'; trying to install..." >&2
 | 
			
		||||
	yay -S pacman-contrib
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
command -v /usr/bin/rankmirrors &>/dev/null || {
 | 
			
		||||
	echo "cannot rank mirrors without 'rankmirrors' from pacman-contrib; aborting" >&2
 | 
			
		||||
	return 1
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
echo 'ranking mirrors; this may take a few minutes...' >&2
 | 
			
		||||
{
 | 
			
		||||
	echo "# mirrors ranked on $(date)"
 | 
			
		||||
	curl -s 'https://archlinux.org/mirrorlist/?country=US&country=CA&protocol=https&use_mirror_status=on' \
 | 
			
		||||
		| sed 's/^#Server/Server/; /^#/d'
 | 
			
		||||
} | /usr/bin/rankmirrors -n 7 - > "${HOME}/mirrorlist.ranked"
 | 
			
		||||
 | 
			
		||||
[ -f ~/mirrorlist.ranked ] || {
 | 
			
		||||
	echo 'failed to rank mirrors :c'
 | 
			
		||||
	return 1
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
echo "
 | 
			
		||||
finished ranking mirrors!
 | 
			
		||||
 | 
			
		||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" >&2
 | 
			
		||||
diff --side-by-side --color /etc/pacman.d/mirrorlist "${HOME}/mirrorlist.ranked" >&2
 | 
			
		||||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
			
		||||
 | 
			
		||||
updated list is currently at ~/mirrorlist.ranked; please review the new list
 | 
			
		||||
and backup existing list; once you're ready to save them, you can run:
 | 
			
		||||
 | 
			
		||||
" >&2
 | 
			
		||||
 | 
			
		||||
echo "sudo mv ~/mirrorlist.ranked /etc/pacman.d/mirrorlist && yay -Syyu"
 | 
			
		||||
@@ -1,26 +1,34 @@
 | 
			
		||||
#!/bin/zsh
 | 
			
		||||
 | 
			
		||||
command -v scwrypts &>/dev/null || {
 | 
			
		||||
	[ -f $HOME/.local/bin/scwrypts ] \
 | 
			
		||||
		&& scwrypts() { $HOME/.local/bin/scwrypts $@; } \
 | 
			
		||||
		|| scwrypts() { $HOME/.wryn/zsh/plugins/scwrypts/scwrypts $@; } \
 | 
			
		||||
		;
 | 
			
		||||
[ "${DOTWRYN}" ] || {
 | 
			
		||||
	notify-send 'I3 UTILS' 'cannot determine $DOTWRYN for utility execution'
 | 
			
		||||
	return 1
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
command -v scwrypts &>/dev/null || {
 | 
			
		||||
	scwrypts() { "${DOTWRYN}/zsh/plugins/scwrypts/scwrypts" $@; }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export CI=true
 | 
			
		||||
export DESKTOP__SFX_PATH="${HOME}/Media/sfx"
 | 
			
		||||
export SCWRYPTS_LOG_LEVEL=0
 | 
			
		||||
 | 
			
		||||
#####################################################################
 | 
			
		||||
 | 
			
		||||
case $1 in
 | 
			
		||||
	( next | previous | play-pause ) playerctl $1 ;;
 | 
			
		||||
	( fastforward ) playerctl position 5+ ;;
 | 
			
		||||
	( rewind      ) playerctl position 5- ;;
 | 
			
		||||
 | 
			
		||||
	( volumedown ) scwrypts -n desktop pulseaudio -- sink down ;;
 | 
			
		||||
	( volumeup   ) scwrypts -n desktop pulseaudio -- sink up ;;
 | 
			
		||||
	( volumemute ) scwrypts -n desktop pulseaudio -- sink mute ;;
 | 
			
		||||
	( micmute    ) scwrypts -n desktop pulseaudio -- source mute ;;
 | 
			
		||||
	( volumedown ) scwrypts media pulseaudio volume -- sink down ;;
 | 
			
		||||
	( volumeup   ) scwrypts media pulseaudio volume -- sink up ;;
 | 
			
		||||
	( volumemute ) scwrypts media pulseaudio volume -- sink mute ;;
 | 
			
		||||
	( micmute    ) scwrypts media pulseaudio volume -- source mute ;;
 | 
			
		||||
 | 
			
		||||
	( backlightup   ) scwrypts -n desktop backlight -- up ;;
 | 
			
		||||
	( backlightdown ) scwrypts -n desktop backlight -- down ;;
 | 
			
		||||
	( backlightup   ) scwrypts desktop backlight -- up ;;
 | 
			
		||||
	( backlightdown ) scwrypts desktop backlight -- down ;;
 | 
			
		||||
 | 
			
		||||
	( lock ) scwrypts -n desktop lock i3 -- ;;
 | 
			
		||||
	( lock ) scwrypts desktop lock i3 -- ;;
 | 
			
		||||
 | 
			
		||||
	( bgrandomize ) scwrypts desktop set i3 background -- random ;;
 | 
			
		||||
 | 
			
		||||
@@ -1,8 +1,8 @@
 | 
			
		||||
#!/usr/bin/env sh
 | 
			
		||||
command -v polybar || return 0
 | 
			
		||||
command -v /usr/bin/polybar || return 0
 | 
			
		||||
 | 
			
		||||
killall -q polybar
 | 
			
		||||
 | 
			
		||||
while pgrep -x polybar &>/dev/null; do sleep 0.1; done
 | 
			
		||||
 | 
			
		||||
polybar i3 &
 | 
			
		||||
/usr/bin/polybar i3 &
 | 
			
		||||
							
								
								
									
										11
									
								
								config/colorschemes/active/getty.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								config/colorschemes/active/getty.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
# do not edit; generated by scwrypts
 | 
			
		||||
# theme : main
 | 
			
		||||
#
 | 
			
		||||
# source this file to apply colorscheme to linux getty
 | 
			
		||||
#
 | 
			
		||||
[[ "$TERM" =~ ^linux$ ]] || return 0
 | 
			
		||||
/bin/echo -e " ]P0000505 ]P1c80064 ]P211bb98 ]P36911aa ]P42262bb ]P59922dd ]P622ccba ]P7d0f0f0 ]P8ff44ff ]P944dddd ]PAaa44ff ]PB229df6 ]PCdd88ff ]PD88ffff ]PEd0f0f0 ]PF7e707e "
 | 
			
		||||
[ ! $NO_CLEAR ] && clear
 | 
			
		||||
return 0
 | 
			
		||||
 sed $d
 | 
			
		||||
							
								
								
									
										1
									
								
								config/colorschemes/active/name.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								config/colorschemes/active/name.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
main
 | 
			
		||||
							
								
								
									
										14
									
								
								config/colorschemes/active/rofi.rasi
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								config/colorschemes/active/rofi.rasi
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
/**
 | 
			
		||||
 * do not edit; generated by scwrypts
 | 
			
		||||
 * theme : main
 | 
			
		||||
 **/
 | 
			
		||||
 | 
			
		||||
*{
 | 
			
		||||
	background:     #001129;
 | 
			
		||||
	foreground:     #d0f0f0;
 | 
			
		||||
	background-alt: #9922dd;
 | 
			
		||||
	foreground-alt: #000505;
 | 
			
		||||
	selected:       #000505;
 | 
			
		||||
	active:         #6911aa;
 | 
			
		||||
	urgent:         #c80064;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										1
									
								
								config/colorschemes/active/source.yaml
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								config/colorschemes/active/source.yaml
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
../main.yaml
 | 
			
		||||
							
								
								
									
										1
									
								
								config/colorschemes/source.yaml
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								config/colorschemes/source.yaml
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/home/w0ryn/.local/share/wryn/colorschemes/main.yaml
 | 
			
		||||
@@ -10,7 +10,7 @@ font pango:Monaspace Argon, pango:Noto Color Emoji, pango:Symbols Nerd Font 16
 | 
			
		||||
## Custom Utility ##############################################################
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
set $UTILS exec --no-startup-id /home/w0ryn/.config/i3/utils
 | 
			
		||||
set $UTILS exec --no-startup-id $DOTWRYN/config/bin/i3-utils
 | 
			
		||||
 | 
			
		||||
# Audio
 | 
			
		||||
bindsym XF86AudioRewind      $UTILS previous
 | 
			
		||||
 
 | 
			
		||||
@@ -21,5 +21,5 @@ statusbar:
 | 
			
		||||
  # supported values are 'polybar' and 'i3status'
 | 
			
		||||
  type: polybar
 | 
			
		||||
 | 
			
		||||
# a list of i3conifg excerpts that should be appended to the generated config
 | 
			
		||||
# a list of i3config excerpts that should be appended to the generated config
 | 
			
		||||
i3configs: []
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@ 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" \
 | 
			
		||||
	2>/dev/null
 | 
			
		||||
 | 
			
		||||
for APP in $(ls ${0:a:h} | grep -v 'apps')
 | 
			
		||||
for APP in $(find "${0:a:h}" -name apps.\*)
 | 
			
		||||
do
 | 
			
		||||
	echo "looking for $APP"
 | 
			
		||||
	tmux list-windows -t apps: | awk '{print $2;}' | grep -q $APP \
 | 
			
		||||
@@ -15,7 +15,7 @@ case $MONITOR_CONFIGURATION in
 | 
			
		||||
		xrandr --output $(xrandr | grep ' connected' | awk '{print $1;}') --primary
 | 
			
		||||
		scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
 | 
			
		||||
		$DOTWRYN/bin/polybar
 | 
			
		||||
		scwrypts desktop play sound        -- login
 | 
			
		||||
		scwrypts desktop play sfx          -- login
 | 
			
		||||
		return 0
 | 
			
		||||
		;;
 | 
			
		||||
esac
 | 
			
		||||
@@ -80,5 +80,5 @@ XRANDR_SET() {
 | 
			
		||||
	scwrypts desktop screen blank      -- $SCREEN_BLANK
 | 
			
		||||
	scwrypts desktop i3 set background -- $BACKGROUND || scwrypts desktop i3 set background -- purple.jpg
 | 
			
		||||
	$DOTWRYN/bin/polybar
 | 
			
		||||
	scwrypts desktop play sound        -- $SOUND_EFFECT
 | 
			
		||||
	scwrypts desktop play sfx          -- $SOUND_EFFECT
 | 
			
		||||
}
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
#!/bin/zsh
 | 
			
		||||
source "$HOME/.config/wryn/env.zsh"
 | 
			
		||||
source "${HOME}/.config/wryn/env.zsh"
 | 
			
		||||
NATIVE_MONITOR='eDP1'
 | 
			
		||||
 | 
			
		||||
GET_PRIMARY_MONITOR() {
 | 
			
		||||
@@ -15,7 +15,7 @@ GET_ALL_EXTERNAL_MONITORS() {
 | 
			
		||||
	xrandr \
 | 
			
		||||
		| grep ' connect' \
 | 
			
		||||
		| awk '{print $1;}' \
 | 
			
		||||
		| grep -v "$NATIVE_MONITOR" \
 | 
			
		||||
		| grep -v "${NATIVE_MONITOR}" \
 | 
			
		||||
		2>/dev/null
 | 
			
		||||
}
 | 
			
		||||
GET_DEFAULT_EXTERNAL_MONITOR() {
 | 
			
		||||
@@ -34,19 +34,19 @@ DISCONNECT_OTHER() {
 | 
			
		||||
 | 
			
		||||
	for ACTIVE_MONITOR in ${@:2}
 | 
			
		||||
	do
 | 
			
		||||
		INACTIVE_MONITORS=$(echo $INACTIVE_MONITORS | grep -v "^$ACTIVE_MONITOR$")
 | 
			
		||||
		INACTIVE_MONITORS=$(echo ${INACTIVE_MONITORS} | grep -v "^${ACTIVE_MONITOR}$")
 | 
			
		||||
	done
 | 
			
		||||
 | 
			
		||||
	local MONITOR
 | 
			
		||||
	for MONITOR in $INACTIVE_MONITORS
 | 
			
		||||
	for MONITOR in ${INACTIVE_MONITORS}
 | 
			
		||||
	do
 | 
			
		||||
		xrandr --output $MONITOR --off
 | 
			
		||||
		xrandr --output ${MONITOR} --off
 | 
			
		||||
	done
 | 
			
		||||
 | 
			
		||||
	sleep 1
 | 
			
		||||
	$DOTWRYN/bin/set-background random
 | 
			
		||||
	${DOTWRYN}/bin/set-background random
 | 
			
		||||
 | 
			
		||||
	[ $SFX ] && ( $DOTWRYN/bin/play-sound $SFX ) &
 | 
			
		||||
	[ ${SFX} ] && ( scwrypts play sfx -- ${SFX} ) &
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										13
									
								
								config/local/pikachu/bin/apps
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										13
									
								
								config/local/pikachu/bin/apps
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
#!/bin/zsh
 | 
			
		||||
 | 
			
		||||
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" \
 | 
			
		||||
	2>/dev/null
 | 
			
		||||
 | 
			
		||||
${XDG_DATA_HOME}/home/w0ryn/.local/share/project-source-code/yage/dotwryn/code/config/local/pikachu/bin
 | 
			
		||||
for APP in $(find "${0:a:h}" -name apps.\*)
 | 
			
		||||
do
 | 
			
		||||
	echo "looking for $APP"
 | 
			
		||||
	tmux list-windows -t apps: | awk '{print $2;}' | grep -q $APP \
 | 
			
		||||
		|| tmux new-window -dn $APP -t apps: "${0:a:h}/$APP"
 | 
			
		||||
done
 | 
			
		||||
							
								
								
									
										13
									
								
								config/local/pikachu/bin/apps.midi
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										13
									
								
								config/local/pikachu/bin/apps.midi
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
#!/bin/zsh
 | 
			
		||||
 | 
			
		||||
cd ${XDG_DATA_HOME:-${HOME}/.local/share}/project-source-code/python/xorg-midi/code
 | 
			
		||||
source ../env/bin/activate
 | 
			
		||||
 | 
			
		||||
while true
 | 
			
		||||
do
 | 
			
		||||
	clear
 | 
			
		||||
	echo "activating midi controller"
 | 
			
		||||
	./midi-controller
 | 
			
		||||
	echo "midi controller died; waiting to reconnect"
 | 
			
		||||
	sleep 3
 | 
			
		||||
done
 | 
			
		||||
@@ -3,3 +3,4 @@
 | 
			
		||||
xrandr --auto
 | 
			
		||||
 | 
			
		||||
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
 | 
			
		||||
scwrypts desktop screen blank      -- enable
 | 
			
		||||
							
								
								
									
										10
									
								
								config/local/pikachu/bin/livingroom
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								config/local/pikachu/bin/livingroom
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
#!/bin/zsh
 | 
			
		||||
 | 
			
		||||
xrandr --auto
 | 
			
		||||
 | 
			
		||||
xrandr --output HDMI-1-0 --off
 | 
			
		||||
sleep 1
 | 
			
		||||
xrandr --output HDMI-1-0 --mode 2560x1440
 | 
			
		||||
 | 
			
		||||
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
 | 
			
		||||
scwrypts desktop screen blank      -- disable
 | 
			
		||||
							
								
								
									
										11
									
								
								config/local/pikachu/bin/office
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										11
									
								
								config/local/pikachu/bin/office
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
#!/bin/zsh
 | 
			
		||||
 | 
			
		||||
xrandr --auto
 | 
			
		||||
 | 
			
		||||
xrandr --output HDMI-1-0 --off
 | 
			
		||||
sleep 1
 | 
			
		||||
xrandr --output HDMI-1-0 --mode 1920x1080
 | 
			
		||||
xrandr --output eDP-1 --off
 | 
			
		||||
 | 
			
		||||
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
 | 
			
		||||
scwrypts desktop screen blank      -- disable
 | 
			
		||||
							
								
								
									
										1
									
								
								config/local/pikachu/bin/scwrypts
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								config/local/pikachu/bin/scwrypts
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/home/w0ryn/.local/share/wryn/zsh/plugins/scwrypts/scwrypts
 | 
			
		||||
							
								
								
									
										7
									
								
								config/local/pikachu/bin/undock
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								config/local/pikachu/bin/undock
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
#!/bin/zsh
 | 
			
		||||
 | 
			
		||||
xrandr --output HDMI-1-0 --off
 | 
			
		||||
xrandr --output eDP-1 --mode 2560x1600
 | 
			
		||||
 | 
			
		||||
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg
 | 
			
		||||
scwrypts desktop screen blank      -- disable
 | 
			
		||||
@@ -0,0 +1,40 @@
 | 
			
		||||
Section "Files"
 | 
			
		||||
	ModulePath "/usr/lib/nvidia"
 | 
			
		||||
	ModulePath "/usr/lib32/nvidia"
 | 
			
		||||
	ModulePath "/usr/lib32/nvidia/xorg/modules"
 | 
			
		||||
	ModulePath "/usr/lib32/xorg/modules"
 | 
			
		||||
	ModulePath "/usr/lib64/nvidia/xorg/modules"
 | 
			
		||||
	ModulePath "/usr/lib64/nvidia/xorg"
 | 
			
		||||
	ModulePath "/usr/lib64/xorg/modules"
 | 
			
		||||
EndSection
 | 
			
		||||
 | 
			
		||||
Section "ServerLayout"
 | 
			
		||||
	Identifier "layout"
 | 
			
		||||
	Screen 0 "integrated"
 | 
			
		||||
	Inactive "nvidia"
 | 
			
		||||
	Option "AllowNVIDIAGPUScreens"
 | 
			
		||||
EndSection
 | 
			
		||||
 | 
			
		||||
Section "Device"
 | 
			
		||||
	Identifier "integrated"
 | 
			
		||||
	Driver "modesetting"
 | 
			
		||||
	BusID "PCI:101:0:0"
 | 
			
		||||
	Option "DRI" "3"
 | 
			
		||||
EndSection
 | 
			
		||||
 | 
			
		||||
Section "Screen"
 | 
			
		||||
	Identifier "integrated"
 | 
			
		||||
	Device "integrated"
 | 
			
		||||
EndSection
 | 
			
		||||
 | 
			
		||||
Section "Device"
 | 
			
		||||
	Identifier "nvidia"
 | 
			
		||||
	Driver "nvidia"
 | 
			
		||||
	BusID "PCI:100:0:0"
 | 
			
		||||
	Option "Coolbits" "28"
 | 
			
		||||
EndSection
 | 
			
		||||
 | 
			
		||||
Section "Screen"
 | 
			
		||||
	Identifier "nvidia"
 | 
			
		||||
	Device "nvidia"
 | 
			
		||||
EndSection
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
ACTION=="add", RUN+="/home/w0ryn/.local/share/wryn/config/local/pikachu/bin/set-battery-max-charge"
 | 
			
		||||
							
								
								
									
										20
									
								
								config/local/pikachu/misc/pulseaudio.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								config/local/pikachu/misc/pulseaudio.patch
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
--- a/analog-output-speaker.conf
 | 
			
		||||
+++ b/analog-output-speaker.conf
 | 
			
		||||
@@ -71,12 +71,14 @@
 | 
			
		||||
 
 | 
			
		||||
 [Element Hardware Master]
 | 
			
		||||
 switch = mute
 | 
			
		||||
-volume = merge
 | 
			
		||||
-override-map.1 = all
 | 
			
		||||
-override-map.2 = all-left,all-right
 | 
			
		||||
+volume = ignore
 | 
			
		||||
 
 | 
			
		||||
 [Element Master]
 | 
			
		||||
 switch = mute
 | 
			
		||||
+volume = ignore
 | 
			
		||||
+
 | 
			
		||||
+[Element PCM]
 | 
			
		||||
+switch = mute
 | 
			
		||||
 volume = merge
 | 
			
		||||
 override-map.1 = all
 | 
			
		||||
 override-map.2 = all-left,all-right
 | 
			
		||||
							
								
								
									
										2
									
								
								config/local/pikachu/misc/pulseaudio.patch.apply
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										2
									
								
								config/local/pikachu/misc/pulseaudio.patch.apply
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
#!/bin/zsh
 | 
			
		||||
sudo patch -p1 -d /usr/share/alsa-card-profile/mixer/paths/ -i "${0:a:h}/pulseaudio.patch"
 | 
			
		||||
							
								
								
									
										2
									
								
								config/local/pikachu/user/alacritty/local.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								config/local/pikachu/user/alacritty/local.toml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
[font]
 | 
			
		||||
size = 9
 | 
			
		||||
@@ -14,4 +14,4 @@ pkill compton
 | 
			
		||||
 | 
			
		||||
scwrypts desktop screen-blank      -- disable
 | 
			
		||||
scwrypts desktop i3 set background -- link-vs-gdizz.jpg
 | 
			
		||||
scwrypts desktop play sound        -- gamedock
 | 
			
		||||
scwrypts desktop play sfx          -- gamedock
 | 
			
		||||
@@ -14,4 +14,4 @@ xrandr ${ARGS[@]} \
 | 
			
		||||
 | 
			
		||||
scwrypts desktop screen-blank      -- enable
 | 
			
		||||
scwrypts desktop i3 set background -- $(scwrypts -n get theme).jpg || scwrypts desktop i3 set background -- random
 | 
			
		||||
scwrypts desktop play sound        -- gamedock
 | 
			
		||||
scwrypts desktop play sfx          -- gamedock
 | 
			
		||||
@@ -21,7 +21,7 @@ configuration {
 | 
			
		||||
 | 
			
		||||
/*****----- Global Properties -----*****/
 | 
			
		||||
 | 
			
		||||
@import "../colorschemes/active/rofi"
 | 
			
		||||
@import "./colorschemes/active/rofi"
 | 
			
		||||
 | 
			
		||||
* {
 | 
			
		||||
    border-colour:               var(selected);
 | 
			
		||||
 
 | 
			
		||||
@@ -3,19 +3,14 @@
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
SCWRYPTS_SHORTCUT=''     # CTRL + W
 | 
			
		||||
SCWRYPTS_ENV_SHORTCUT='' # CTRL + /
 | 
			
		||||
 | 
			
		||||
SCWRYPTS_ENVIRONMENT__SHOW_ENV_HELP=false
 | 
			
		||||
SCWRYPTS_ENVIRONMENT__PREFERRED_EDIT_MODE=quiet
 | 
			
		||||
#SCWRYPTS_ENVIRONMENT__SHOW_ENV_HELP=false
 | 
			
		||||
#SCWRYPTS_ENVIRONMENT__PREFERRED_EDIT_MODE=quiet
 | 
			
		||||
 | 
			
		||||
for SEARCH_DIR in \
 | 
			
		||||
	"$DOTWRYN/scwrypts" \
 | 
			
		||||
	"$HOME/Projects/yage/" \
 | 
			
		||||
	;
 | 
			
		||||
do
 | 
			
		||||
	[ -d "$SEARCH_DIR" ] || continue
 | 
			
		||||
	for G in "$SEARCH_DIR/"**/*.scwrypts.zsh; do . "$G"; done
 | 
			
		||||
done
 | 
			
		||||
SCWRYPTS_GENERATOR__SHOW_HELP=false
 | 
			
		||||
 | 
			
		||||
[ -f "$HOME/.config/scwrypts/config.local.zsh" ] \
 | 
			
		||||
	&& source "$HOME/.config/scwrypts/config.local.zsh" 
 | 
			
		||||
[ ${DOTWRYN} ] || source "${HOME}/.zshrc"
 | 
			
		||||
SCWRYPTS_GROUP_DIRS+=("${DOTWRYN}/scwrypts")
 | 
			
		||||
 | 
			
		||||
[ -f "${XDG_CONFIG_HOME:-${HOME}/.config}/scwrypts/config.local.zsh" ] \
 | 
			
		||||
	&& source "${XDG_CONFIG_HOME:-${HOME}/.config}/scwrypts/config.local.zsh"
 | 
			
		||||
 
 | 
			
		||||
@@ -1,60 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
# scwrypts dot-files config
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
TERMINFO_PATH="$DOTWRYN/config/terminfo"
 | 
			
		||||
SAFE_SYMLINKS=0
 | 
			
		||||
 | 
			
		||||
# lines which begin with '#' are ignored
 | 
			
		||||
SYMLINKS="
 | 
			
		||||
# --------------------------------------------------------------------------
 | 
			
		||||
# fully qualified path                       ~/.config/THE-REST
 | 
			
		||||
# --------------------------------------------------------------------------
 | 
			
		||||
$DOTWRYN/bin/i3-utils                             i3/utils
 | 
			
		||||
$DOTWRYN/colorschemes/active/kitty.conf           kitty/theme.conf
 | 
			
		||||
$DOTWRYN/colorschemes/active/alacritty.toml       alacritty/theme.toml
 | 
			
		||||
$DOTWRYN/colorschemes/active/alacritty.yaml       alacritty/theme.yml
 | 
			
		||||
$DOTWRYN/config/alacritty.toml                    alacritty/alacritty.toml
 | 
			
		||||
$DOTWRYN/config/alacritty.default.toml            alacritty/default.toml
 | 
			
		||||
$DOTWRYN/config/alacritty.yaml                    alacritty/alacritty.yml
 | 
			
		||||
$DOTWRYN/config/bat.conf                          bat/config
 | 
			
		||||
$DOTWRYN/config/code-activator.conf               code-activator-zsh/settings.zsh
 | 
			
		||||
$DOTWRYN/config/compton.conf                      compton/compton.conf
 | 
			
		||||
$DOTWRYN/config/flameshot.ini                     flameshot/flameshot.ini
 | 
			
		||||
$DOTWRYN/config/git.conf                          git/config
 | 
			
		||||
$DOTWRYN/config/htop.conf                         htop/htoprc
 | 
			
		||||
$DOTWRYN/config/i3status.conf                     i3status/config
 | 
			
		||||
$DOTWRYN/config/kitty.conf                        kitty/kitty.conf
 | 
			
		||||
$DOTWRYN/config/mssqlcli.conf                     mssqlci/config
 | 
			
		||||
$DOTWRYN/config/pgcli.conf                        pgcli/config
 | 
			
		||||
$DOTWRYN/config/polybar.ini                       polybar/config.ini
 | 
			
		||||
$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/vundle.zsh               scwrypts/vundle.zsh
 | 
			
		||||
$DOTWRYN/config/tmux.conf                         tmux/tmux.conf
 | 
			
		||||
$DOTWRYN/config/xcompose.conf                     X11/xcompose
 | 
			
		||||
$DOTWRYN/config/xconfig.conf                      X11/xconfig
 | 
			
		||||
$DOTWRYN/config/xinitrc.i3                        ../.xinitrc
 | 
			
		||||
$DOTWRYN/config/xinitrc.i3                        X11/xinitrc
 | 
			
		||||
$DOTWRYN/bin/vim                                  ../.local/bin/vim
 | 
			
		||||
$DOTWRYN/bin/$(hostnamectl --static)              ../.$(hostnamectl --static)
 | 
			
		||||
 | 
			
		||||
$( () {
 | 
			
		||||
	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 '^' \
 | 
			
		||||
		;
 | 
			
		||||
} )
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
true
 | 
			
		||||
@@ -1,2 +1,4 @@
 | 
			
		||||
---  # local.altaria > dotwryn
 | 
			
		||||
# no configuration set
 | 
			
		||||
---  # local.pikachu > dotwryn
 | 
			
		||||
desktop:
 | 
			
		||||
  backlight-device:
 | 
			
		||||
    value: amdgpu_bl1
 | 
			
		||||
 
 | 
			
		||||
@@ -1,2 +1,2 @@
 | 
			
		||||
---  # local.altaria > remote
 | 
			
		||||
---  # local.pikachu > remote
 | 
			
		||||
# no configuration set
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,2 @@
 | 
			
		||||
---  # local.altaria > scwrypts
 | 
			
		||||
media-sync:
 | 
			
		||||
  targets:
 | 
			
		||||
    value:
 | 
			
		||||
      - Pictures
 | 
			
		||||
      - Documents
 | 
			
		||||
      - Media
 | 
			
		||||
      - .local/.porn
 | 
			
		||||
      - Games/roms
 | 
			
		||||
      - .local/share/dolphin-emu
 | 
			
		||||
---  # local.pikachu > scwrypts
 | 
			
		||||
# no configuration set
 | 
			
		||||
 
 | 
			
		||||
@@ -2,44 +2,7 @@
 | 
			
		||||
# Scwrypts Build Definitions
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
VUNDLE__BUILD__ale() {
 | 
			
		||||
	# ... build steps from /home/w0ryn/.vim/ale 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VUNDLE__BUILD__nerdtree() {
 | 
			
		||||
	# ... build steps from /home/w0ryn/.vim/nerdtree 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VUNDLE__BUILD__unicode.vim() {
 | 
			
		||||
	# ... build steps from /home/w0ryn/.vim/unicode.vim 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VUNDLE__BUILD__vim-dim() {
 | 
			
		||||
	# ... build steps from /home/w0ryn/.vim/vim-dim 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VUNDLE__BUILD__vim-fugitive() {
 | 
			
		||||
	# ... build steps from /home/w0ryn/.vim/vim-fugitive 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VUNDLE__BUILD__vim-go() {
 | 
			
		||||
	# ... build steps from /home/w0ryn/.vim/vim-go 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VUNDLE__BUILD__vim-surround() {
 | 
			
		||||
	# ... build steps from /home/w0ryn/.vim/vim-surround 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VUNDLE__BUILD__vim-hexokinase() {
 | 
			
		||||
	# ... build steps from /home/w0ryn/.vim/vim-hexokinase 
 | 
			
		||||
	make hexokinase
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VUNDLE__BUILD__youcompleteme() {
 | 
			
		||||
	# ... build steps from /home/w0ryn/.vim/youcompleteme 
 | 
			
		||||
	./install.py --all
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VUNDLE__BUILD__rust.vim() {
 | 
			
		||||
	# ... build steps from /home/w0ryn/.vim/rust.vim 
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1 +0,0 @@
 | 
			
		||||
ACTION=="add", RUN+="/home/w0ryn/.wryn/bin/pikachu/set-battery-max-charge"
 | 
			
		||||
							
								
								
									
										3
									
								
								config/user/X11/xinitrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								config/user/X11/xinitrc
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
#!/bin/zsh
 | 
			
		||||
source "${HOME}/.zshrc" &>/dev/null
 | 
			
		||||
source "${DOTWRYN}/config/xinitrc.i3wm"
 | 
			
		||||
							
								
								
									
										28
									
								
								config/user/alacritty/theme.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								config/user/alacritty/theme.toml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
# do not edit; generated by scwrypts
 | 
			
		||||
# theme : main
 | 
			
		||||
[colors.cursor]
 | 
			
		||||
cursor = '0xeeddff'
 | 
			
		||||
 | 
			
		||||
[colors.primary]
 | 
			
		||||
background = '0x000505'
 | 
			
		||||
foreground = '0xd0f0f0'
 | 
			
		||||
 | 
			
		||||
[colors.normal]
 | 
			
		||||
black   = '0x000505'
 | 
			
		||||
red     = '0xc80064'
 | 
			
		||||
green   = '0x11bb98'
 | 
			
		||||
yellow  = '0x6911aa'
 | 
			
		||||
blue    = '0x2262bb'
 | 
			
		||||
magenta = '0x9922dd'
 | 
			
		||||
cyan    = '0x22ccba'
 | 
			
		||||
white   = '0xd0f0f0'
 | 
			
		||||
 | 
			
		||||
[colors.bright]
 | 
			
		||||
black   = '0x424253'
 | 
			
		||||
red     = '0xff44ff'
 | 
			
		||||
green   = '0x44dddd'
 | 
			
		||||
yellow  = '0xaa44ff'
 | 
			
		||||
blue    = '0x229df6'
 | 
			
		||||
magenta = '0xdd88ff'
 | 
			
		||||
cyan    = '0x88ffff'
 | 
			
		||||
white   = '0x7e707e'
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							@@ -45,6 +45,13 @@
 | 
			
		||||
 | 
			
		||||
[gpg "ssh"]
 | 
			
		||||
	program = /opt/1Password/op-ssh-sign
 | 
			
		||||
	allowedSignersFile = /home/w0ryn/.ssh/allowed_signers
 | 
			
		||||
 | 
			
		||||
[commit]
 | 
			
		||||
	gpgsign = true
 | 
			
		||||
 | 
			
		||||
[tag]
 | 
			
		||||
	gpgsign = true
 | 
			
		||||
 | 
			
		||||
[format]
 | 
			
		||||
	signoff = true
 | 
			
		||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user