runit user services

This commit is contained in:
Jozef Steinhübl 2023-12-24 21:05:52 +01:00
parent 897e39a4a1
commit f66309682d
No known key found for this signature in database
GPG key ID: E944BC293F5FF7E7
52 changed files with 190 additions and 11 deletions

View file

@ -19,7 +19,9 @@
"enabled": false "enabled": false
}, },
"AnonymiseFileNames": { "AnonymiseFileNames": {
"enabled": true "enabled": false,
"method": 0,
"randomisedLength": 7
}, },
"BadgeAPI": { "BadgeAPI": {
"enabled": true "enabled": true
@ -604,6 +606,21 @@
}, },
"SuperReactionTweaks": { "SuperReactionTweaks": {
"enabled": false "enabled": false
},
"ClientTheme": {
"enabled": false
},
"FixImagesQuality": {
"enabled": false
},
"Decor": {
"enabled": false
},
"NotificationVolume": {
"enabled": false
},
"XSOverlay": {
"enabled": false
} }
}, },
"notifications": { "notifications": {
@ -616,6 +633,6 @@
"authenticated": true, "authenticated": true,
"url": "https://api.vencord.dev/", "url": "https://api.vencord.dev/",
"settingsSync": true, "settingsSync": true,
"settingsSyncVersion": 1700750914881 "settingsSyncVersion": 1702996907811
} }
} }

View file

@ -13,15 +13,15 @@ DXVK_NVAPIHACK="0"
DXVK_ENABLE_NVAPI="1" DXVK_ENABLE_NVAPI="1"
WINEDLLOVERRIDES="d3d10core,d3d11,d3d12,d3d12core,d3d9,d3dcompiler_33,d3dcompiler_34,d3dcompiler_35,d3dcompiler_36,d3dcompiler_37,d3dcompiler_38,d3dcompiler_39,d3dcompiler_40,d3dcompiler_41,d3dcompiler_42,d3dcompiler_43,d3dcompiler_46,d3dcompiler_47,d3dx10,d3dx10_33,d3dx10_34,d3dx10_35,d3dx10_36,d3dx10_37,d3dx10_38,d3dx10_39,d3dx10_40,d3dx10_41,d3dx10_42,d3dx10_43,d3dx11_42,d3dx11_43,d3dx9_24,d3dx9_25,d3dx9_26,d3dx9_27,d3dx9_28,d3dx9_29,d3dx9_30,d3dx9_31,d3dx9_32,d3dx9_33,d3dx9_34,d3dx9_35,d3dx9_36,d3dx9_37,d3dx9_38,d3dx9_39,d3dx9_40,d3dx9_41,d3dx9_42,d3dx9_43,dxgi,nvapi,nvapi64=n;winemenubuilder=" WINEDLLOVERRIDES="d3d10core,d3d11,d3d12,d3d12core,d3d9,d3dcompiler_33,d3dcompiler_34,d3dcompiler_35,d3dcompiler_36,d3dcompiler_37,d3dcompiler_38,d3dcompiler_39,d3dcompiler_40,d3dcompiler_41,d3dcompiler_42,d3dcompiler_43,d3dcompiler_46,d3dcompiler_47,d3dx10,d3dx10_33,d3dx10_34,d3dx10_35,d3dx10_36,d3dx10_37,d3dx10_38,d3dx10_39,d3dx10_40,d3dx10_41,d3dx10_42,d3dx10_43,d3dx11_42,d3dx11_43,d3dx9_24,d3dx9_25,d3dx9_26,d3dx9_27,d3dx9_28,d3dx9_29,d3dx9_30,d3dx9_31,d3dx9_32,d3dx9_33,d3dx9_34,d3dx9_35,d3dx9_36,d3dx9_37,d3dx9_38,d3dx9_39,d3dx9_40,d3dx9_41,d3dx9_42,d3dx9_43,dxgi,nvapi,nvapi64=n;winemenubuilder="
WINE_LARGE_ADDRESS_AWARE="1" WINE_LARGE_ADDRESS_AWARE="1"
__NV_PRIME_RENDER_OFFLOAD="1"
[global] __GLX_VENDOR_LIBRARY_NAME="nvidia"
#dxvk = false __VK_LAYER_NV_optimus="NVIDIA_only"
#renderer = "Vulkan" GAMEMODERUNEXEC="env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only"
[player] [player]
dxvk = true launcher = "gamemoderun"
dxvk = false
renderer = "Vulkan" renderer = "Vulkan"
channel = "live"
[studio] [studio]
#dxvk = false #dxvk = false

View file

@ -5,7 +5,8 @@
BP_TEMP_PATH=$(mktemp -d --suffix=-bun.playground) BP_TEMP_PATH=$(mktemp -d --suffix=-bun.playground)
cd $BP_TEMP_PATH cd $BP_TEMP_PATH
bun init -y #bun init -y
nvim . #nvim .
code $BP_TEMP_PATH
rm -rf $BP_TEMP_PATH #rm -rf $BP_TEMP_PATH

1
.runit/runsvdir/pipewire Symbolic link
View file

@ -0,0 +1 @@
/home/hyro/.runit/sv/pipewire

View file

@ -0,0 +1 @@
/home/hyro/.runit/sv/pipewire-media-session

View file

@ -0,0 +1 @@
/home/hyro/.runit/sv/pipewire-pulse

1
.runit/runsvdir/wireplumber Symbolic link
View file

@ -0,0 +1 @@
/home/hyro/.runit/sv/wireplumber

View file

@ -0,0 +1,12 @@
# -*- mode: sh; -*-
# Additional command line arguments for pipewire-media-session.
OPTS=''
# Setting this to 1 enables logging, any other value - disables.
LOGGING_ENABLE=0
# Set the pipewire log level.
# See: https://docs.pipewire.org/page_daemon.html#sec_logging
LOG_LEVEL=1
# The directory will be created for you, if logging is enabled.
LOG_DIR="$HOME/var/log/pipewire-media-session"

View file

@ -0,0 +1,12 @@
#!/bin/sh
[ -r ../conf ] && . ../conf
if [ "${LOGGING_ENABLE}x" = "1x" ]; then
# Create the log directory if not exists.
[ -d "${LOG_DIR}" ] || mkdir -p "${LOG_DIR}"
exec svlogd -tt "${LOG_DIR}"
else
exec chpst -b pipewire-media-session-log-null cat >/dev/null
fi

View file

@ -0,0 +1 @@
1617

View file

@ -0,0 +1 @@
run

Binary file not shown.

View file

@ -0,0 +1 @@
/home/hyro/.runit/sv/pipewire-media-session

View file

@ -0,0 +1,12 @@
#!/bin/sh
# Wait for the PipeWire daemon to start.
sv check "$HOME/.runit/sv/pipewire" >/dev/null || exit 1
[ -r ./conf ] && . ./conf
if [ "${LOGGING_ENABLE}x" = "1x" -a -n "${LOG_LEVEL}" ]; then
export PIPEWIRE_DEBUG="${LOG_LEVEL}"
fi
exec pipewire-media-session ${OPTS:-} 2>&1

View file

@ -0,0 +1 @@
down

Binary file not shown.

12
.runit/sv/pipewire-pulse/conf Executable file
View file

@ -0,0 +1,12 @@
# -*- mode: sh; -*-
# Additional command line arguments for pipewire-pulse.
OPTS=''
# Setting this to 1 enables logging, any other value - disables.
LOGGING_ENABLE=0
# Set the pipewire log level.
# See: https://docs.pipewire.org/page_daemon.html#sec_logging
LOG_LEVEL=1
# The directory will be created for you, if logging is enabled.
LOG_DIR="$HOME/var/log/pipewire-pulse"

View file

@ -0,0 +1,12 @@
#!/bin/sh
[ -r ../conf ] && . ../conf
if [ "${LOGGING_ENABLE}x" = "1x" ]; then
# Create the log directory if not exists.
[ -d "${LOG_DIR}" ] || mkdir -p "${LOG_DIR}"
exec svlogd -tt "${LOG_DIR}"
else
exec chpst -b pipewire-pulse-log-null cat >/dev/null
fi

View file

@ -0,0 +1 @@
1619

View file

@ -0,0 +1 @@
run

Binary file not shown.

12
.runit/sv/pipewire-pulse/run Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
# Wait for the PipeWire Media Session daemon to start.
sv check "$HOME/.runit/sv/pipewire-media-session" >/dev/null || exit 1
[ -r ./conf ] && . ./conf
if [ "${LOGGING_ENABLE}x" = "1x" -a -n "${LOG_LEVEL}" ]; then
export PIPEWIRE_DEBUG="${LOG_LEVEL}"
fi
exec pipewire-pulse ${OPTS:-} 2>&1

View file

View file

@ -0,0 +1 @@
1625

View file

@ -0,0 +1 @@
run

Binary file not shown.

12
.runit/sv/pipewire/conf Executable file
View file

@ -0,0 +1,12 @@
# -*- mode: sh; -*-
# Additional command line arguments for pipewire(1).
OPTS=''
# Setting this to 1 enables logging, any other value - disables.
LOGGING_ENABLE=1
# Set the pipewire log level.
# See: https://docs.pipewire.org/page_daemon.html#sec_logging
LOG_LEVEL=1
# The directory will be created for you, if logging is enabled.
LOG_DIR="$HOME/var/log/pipewire"

12
.runit/sv/pipewire/log/run Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
[ -r ../conf ] && . ../conf
if [ "${LOGGING_ENABLE}x" = "1x" ]; then
# Create the log directory if not exists.
[ -d "${LOG_DIR}" ] || mkdir -p "${LOG_DIR}"
exec svlogd -tt "${LOG_DIR}"
else
exec chpst -b pipewire-log-null cat >/dev/null
fi

View file

View file

@ -0,0 +1 @@
1618

View file

@ -0,0 +1 @@
run

Binary file not shown.

9
.runit/sv/pipewire/run Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -r ./conf ] && . ./conf
if [ "${LOGGING_ENABLE}x" = "1x" -a -n "${LOG_LEVEL}" ]; then
export PIPEWIRE_DEBUG="${LOG_LEVEL}"
fi
exec pipewire ${OPTS:-} 2>&1

View file

View file

@ -0,0 +1 @@
1624

View file

@ -0,0 +1 @@
run

Binary file not shown.

12
.runit/sv/wireplumber/conf Executable file
View file

@ -0,0 +1,12 @@
# -*- mode: sh; -*-
# Additional command line arguments for wireplumber.
OPTS=''
# Setting this to 1 enables logging, any other value - disables.
LOGGING_ENABLE=0
# Set the wireplumber log level.
# See: https://pipewire.pages.freedesktop.org/wireplumber/daemon-logging.html
LOG_LEVEL=2
# The directory will be created for you, if logging is enabled.
LOG_DIR="$HOME/var/log/wireplumber"

12
.runit/sv/wireplumber/log/run Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
[ -r ../conf ] && . ../conf
if [ "${LOGGING_ENABLE}x" == "1x" ]; then
# Create the log directory if not exists.
[ -d "${LOG_DIR}" ] || mkdir -p "${LOG_DIR}"
exec svlogd -tt "${LOG_DIR}"
else
exec chpst -b wireplumber-log-null cat >/dev/null
fi

View file

View file

@ -0,0 +1 @@
1616

View file

@ -0,0 +1 @@
run

Binary file not shown.

12
.runit/sv/wireplumber/run Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
# Wait for the PipeWire daemon to start.
sv check "$HOME/.runit/sv/pipewire" >/dev/null || exit 1
[ -r ./conf ] && . ./conf
if [ "${LOGGING_ENABLE}x" == "1x" -a -n "${LOG_LEVEL}" ]; then
export WIREPLUMBER_DEBUG="${LOG_LEVEL}"
fi
exec wireplumber ${OPTS:-} 2>&1

View file

View file

@ -0,0 +1 @@
1620

View file

@ -0,0 +1 @@
run

Binary file not shown.