chore: update and minify config
This commit is contained in:
		
							parent
							
								
									6efa74ea62
								
							
						
					
					
						commit
						f893a5d054
					
				
					 1634 changed files with 1974 additions and 281623 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								.local/share/pipewire/librnnoise_ladspa.so
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.local/share/pipewire/librnnoise_ladspa.so
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										0
									
								
								.local/share/scripts/.stop
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								.local/share/scripts/.stop
									
										
									
									
									
										Normal file
									
								
							
							
								
								
									
										18
									
								
								.local/share/scripts/create_feedback_sink.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										18
									
								
								.local/share/scripts/create_feedback_sink.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,18 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
# Load sinks
 | 
			
		||||
#
 | 
			
		||||
pactl load-module module-null-sink  sink_name=output        sink_properties=device.description="Output"
 | 
			
		||||
pactl load-module module-null-sink  sink_name=applications  sink_properties=device.description="Applications"
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
# Loopback audio to the correct places
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
# Application audio forwarded to microphone
 | 
			
		||||
pactl load-module module-loopback   latency_msec=25 source=applications.monitor sink=output
 | 
			
		||||
# Microphone
 | 
			
		||||
pactl load-module module-loopback   latency_msec=25 source=rnnoise_source sink=output
 | 
			
		||||
# Application audio forwarded to me
 | 
			
		||||
pactl load-module module-loopback   latency_msec=25 source=applications.monitor sink=alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.pro-output-0
 | 
			
		||||
							
								
								
									
										4
									
								
								.local/share/scripts/delete_feedback_sink.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								.local/share/scripts/delete_feedback_sink.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,4 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
pactl unload-module module-loopback
 | 
			
		||||
pactl unload-module module-null-sink
 | 
			
		||||
							
								
								
									
										1
									
								
								.local/share/scripts/fish_emacs.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										1
									
								
								.local/share/scripts/fish_emacs.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
fish -c '~/.local/share/emacs/src/emacs'
 | 
			
		||||
							
								
								
									
										1
									
								
								.local/share/scripts/fish_lvim.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										1
									
								
								.local/share/scripts/fish_lvim.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
fish -c "lvim $@"
 | 
			
		||||
							
								
								
									
										1
									
								
								.local/share/scripts/hack.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										1
									
								
								.local/share/scripts/hack.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
fish -c 'lvim'
 | 
			
		||||
							
								
								
									
										8
									
								
								.local/share/scripts/steam/launch.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										8
									
								
								.local/share/scripts/steam/launch.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
export AMD_VULKAN_ICD="RADV"
 | 
			
		||||
export DXVK_ASYNC=1
 | 
			
		||||
export DXVK_STATE_CACHE=1
 | 
			
		||||
export MANGOHUD=1
 | 
			
		||||
export RADV_PERFTEST="gpl"
 | 
			
		||||
 | 
			
		||||
gamemoderun "$@"
 | 
			
		||||
							
								
								
									
										8
									
								
								.local/share/scripts/steam/launch_gamescope.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										8
									
								
								.local/share/scripts/steam/launch_gamescope.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
export AMD_VULKAN_ICD="RADV"
 | 
			
		||||
export DXVK_ASYNC=1
 | 
			
		||||
export DXVK_STATE_CACHE=1
 | 
			
		||||
export MANGOHUD=1
 | 
			
		||||
export RADV_PERFTEST="gpl"
 | 
			
		||||
 | 
			
		||||
gamescope -w 1280 -h 720 -W 1920 -H 1080 -f -- gamemoderun "$@"
 | 
			
		||||
							
								
								
									
										10
									
								
								.local/share/scripts/steam/launch_raytracing.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								.local/share/scripts/steam/launch_raytracing.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
export AMD_VULKAN_ICD="RADV"
 | 
			
		||||
export DXVK_ASYNC=1
 | 
			
		||||
export DXVK_STATE_CACHE=1
 | 
			
		||||
export MANGOHUD=1
 | 
			
		||||
export RADV_PERFTEST="rt,gpl"
 | 
			
		||||
export VKD3D_CONFIG="dxr11"
 | 
			
		||||
export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1
 | 
			
		||||
 | 
			
		||||
gamemoderun "$@" -dx12
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								.local/share/scripts/vision_health
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.local/share/scripts/vision_health
									
										
									
									
									
										Executable file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										43
									
								
								.local/share/scripts/vision_health.nim
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										43
									
								
								.local/share/scripts/vision_health.nim
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,43 @@
 | 
			
		|||
#!/var/home/wizardlink/.nimble/bin/nim r
 | 
			
		||||
 | 
			
		||||
from std/os import fileExists
 | 
			
		||||
from std/osproc import execProcess
 | 
			
		||||
import std/times
 | 
			
		||||
 | 
			
		||||
type
 | 
			
		||||
  TimeTrack = tuple
 | 
			
		||||
    pcBreak: Duration
 | 
			
		||||
    pcBreakCycle: Duration
 | 
			
		||||
    eyeBreak: Duration
 | 
			
		||||
    eyeBreakCycle: Duration
 | 
			
		||||
  NextAlerts = tuple
 | 
			
		||||
    pcBreakCycle: Time
 | 
			
		||||
    eyeBreakCycle: Time
 | 
			
		||||
 | 
			
		||||
let
 | 
			
		||||
  trackingDefaults: TimeTrack = (
 | 
			
		||||
    pcBreak:       initDuration(minutes = 10),
 | 
			
		||||
    pcBreakCycle:  initDuration(hours = 2),
 | 
			
		||||
    eyeBreak:      initDuration(seconds = 20),
 | 
			
		||||
    eyeBreakCycle: initDuration(minutes = 20),
 | 
			
		||||
  )
 | 
			
		||||
 | 
			
		||||
var
 | 
			
		||||
  nextAlerts: NextAlerts = (
 | 
			
		||||
    pcBreakCycle:  getTime() + trackingDefaults.pcBreakCycle,
 | 
			
		||||
    eyeBreakCycle: getTime() + trackingDefaults.eyeBreakCycle,
 | 
			
		||||
  )
 | 
			
		||||
 | 
			
		||||
while true:
 | 
			
		||||
  let currentTime = getTime()
 | 
			
		||||
  if fileExists("/var/home/wizardlink/.local/share/scripts/.stop"):
 | 
			
		||||
    break
 | 
			
		||||
 | 
			
		||||
  if nextAlerts.pcBreakCycle <= currentTime:
 | 
			
		||||
    nextAlerts.pcBreakCycle += trackingDefaults.pcBreakCycle
 | 
			
		||||
    nextAlerts.eyeBreakCycle += trackingDefaults.eyeBreakCycle # Clashes since it happens every 20 minutes
 | 
			
		||||
    discard execProcess "pw-play /var/mnt/internal/personal/memes/tetris-pJF_LwW-EWo.mp3"
 | 
			
		||||
 | 
			
		||||
  elif nextAlerts.eyeBreakCycle <= currentTime:
 | 
			
		||||
    nextAlerts.eyeBreakCycle += trackingDefaults.eyeBreakCycle
 | 
			
		||||
    discard execProcess "pw-play /var/mnt/internal/personal/memes/noooooo-eoNtgM4KGzc.mp3"
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue