chore: initial commit
This commit is contained in:
commit
d3948c7910
56 changed files with 8996 additions and 0 deletions
18
scripts/create_feedback_sink.sh
Executable file
18
scripts/create_feedback_sink.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Load sinks
|
||||
#
|
||||
pactl load-module module-null-sink formats=pcm,float32le sink_name=output sink_properties=device.description="Output"
|
||||
pactl load-module module-null-sink formats=pcm,float32le 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
scripts/delete_feedback_sink.sh
Executable file
4
scripts/delete_feedback_sink.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
pactl unload-module module-loopback
|
||||
pactl unload-module module-null-sink
|
6
scripts/hyprland/screenshot.sh
Executable file
6
scripts/hyprland/screenshot.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
FILE_PATH="/mnt/internal/personal/screenshots/$(date +'%Y-%m-%d_%H-%M-%S').png"
|
||||
|
||||
grim -t png $FILE_PATH
|
||||
wl-copy <$FILE_PATH
|
6
scripts/hyprland/screenshot_area.sh
Executable file
6
scripts/hyprland/screenshot_area.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
FILE_PATH="/mnt/internal/personal/screenshots/$(date +'%Y-%m-%d_%H-%M-%S').png"
|
||||
|
||||
grim -t png -g "$(slurp)" $FILE_PATH
|
||||
wl-copy <$FILE_PATH
|
37
scripts/hyprland/start_services.sh
Executable file
37
scripts/hyprland/start_services.sh
Executable file
|
@ -0,0 +1,37 @@
|
|||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Start waybar.
|
||||
#
|
||||
waybar &
|
||||
|
||||
#
|
||||
## Start wallpaper daemon and set one.
|
||||
#
|
||||
OUTPUT_1="DP-3"
|
||||
IMAGE_1="/mnt/internal/personal/wallpapers/wallhaven-g71xoe.jpg"
|
||||
|
||||
OUTPUT_2="DP-2"
|
||||
IMAGE_2="/mnt/internal/personal/wallpapers/wallhaven-3zjexv.jpg"
|
||||
|
||||
function load_wallpapers() {
|
||||
swww img -t any --transition-bezier 0.0,0.0,1.0,1.0 --transition-duration .8 --transition-step 255 --transition-fps 60 -o $OUTPUT_1 $IMAGE_1;
|
||||
swww img -t any --transition-bezier 0.0,0.0,1.0,1.0 --transition-duration .8 --transition-step 255 --transition-fps 60 -o $OUTPUT_2 $IMAGE_2
|
||||
}
|
||||
|
||||
if ! swww query; then
|
||||
swww init &
|
||||
fi
|
||||
|
||||
load_wallpapers &
|
||||
|
||||
#
|
||||
# Start notification daemon.
|
||||
#
|
||||
mako &
|
||||
|
||||
#
|
||||
# Start authentication polkit.
|
||||
#
|
||||
/nix/store/$(ls -la /nix/store | rg '^d.*polkit-kde-agent.*\d$' | awk '{print $9}')/libexec/polkit-kde-authentication-agent-1 &
|
||||
|
8
scripts/steam/launch.sh
Executable file
8
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
scripts/steam/launch_gamescope.sh
Executable file
8
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
scripts/steam/launch_raytracing.sh
Executable file
10
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
|
Loading…
Add table
Add a link
Reference in a new issue