Skip to content

Commit 8f3cb4a

Browse files
committed
wireplumber: migrate to 0.5 config syntax
1 parent dad0a12 commit 8f3cb4a

File tree

5 files changed

+35
-28
lines changed

5 files changed

+35
-28
lines changed

.config/nvim/lua/plugins/lsp.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ local lsp_server_configs = {
1717
cmd = {
1818
"clangd",
1919
"--clang-tidy",
20-
"--header-insertion-decorators=false"
20+
"--header-insertion-decorators=false",
21+
"--function-arg-placeholders=false"
2122
},
2223
init_options = {
2324
fallbackFlags = clangd_fallbackflags

.config/sway/config

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ set $screenlock swaylock -fri /usr/share/backgrounds/wallhaven-farcry-lock.png
3333
# Default wallpaper
3434
# (more resolutions are available in /usr/share/backgrounds/sway/)
3535
#output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
36-
output * bg /usr/share/backgrounds/wallhaven-farcry.jpg fill
36+
output * bg /usr/share/backgrounds/wallhaven-farcry.png fill
3737

3838
#
3939
# Example configuration:

.config/wireplumber/main.lua.d/disable-unused-sinks.lua

-24
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
monitor.alsa.rules = [
2+
# S/PDIF
3+
{
4+
matches = [
5+
{
6+
node.name = "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_Audio_3__sink"
7+
}
8+
]
9+
actions = {
10+
update-props = {
11+
node.disabled = true
12+
}
13+
}
14+
}
15+
16+
# Front panel audio
17+
{
18+
matches = [
19+
{
20+
node.name = "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_Audio_1__sink"
21+
}
22+
]
23+
actions = {
24+
update-props = {
25+
node.disabled = true
26+
}
27+
}
28+
}
29+
]

.local/bin/start-sway

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export MOZ_DISABLE_RDD_SANDBOX=1
1313
export LIBVA_DRIVER_NAME="nvidia"
1414
export NVD_BACKEND="direct"
1515

16-
export WLR_RENDERER="vulkan"
16+
#export WLR_RENDERER="vulkan"
1717
export WLR_NO_HARDWARE_CURSORS=1
1818

1919
export GBM_BACKEND="nvidia-drm"
@@ -24,4 +24,5 @@ export __GLX_VENDOR_LIBRARY_NAME="nvidia"
2424

2525
export XWAYLAND_NO_GLAMOR=1
2626

27-
dbus-run-session sway --unsupported-gpu "$@"
27+
#dbus-run-session sway --unsupported-gpu "$@"
28+
sway --unsupported-gpu "$@"

0 commit comments

Comments
 (0)