diff options
Diffstat (limited to 'ar')
3 files changed, 86 insertions, 2 deletions
diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/image.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/image.lua index a4f126f..81fa28b 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/image.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/image.lua @@ -64,9 +64,9 @@ return { local absolute_image_path = current_file_path .. "/" .. image_path -- Check if the image exists in the current path if not file_exists(absolute_image_path) then - -- If not found, search ../Screenshots/ + -- If not found, search ../screenshots/ local fallback_path = vim.fn.fnamemodify(current_file_path, ":h") - .. "/Screenshots/" + .. "/screenshots/" .. image_path if file_exists(fallback_path) then absolute_image_path = fallback_path diff --git a/ar/.config/pipewire/pipewire.conf.d/10-no-rtkit.conf b/ar/.config/pipewire/pipewire.conf.d/10-no-rtkit.conf new file mode 100644 index 0000000..9d5903f --- /dev/null +++ b/ar/.config/pipewire/pipewire.conf.d/10-no-rtkit.conf @@ -0,0 +1,10 @@ +context.modules = [ + { name = libpipewire-module-rt + args = { + rt.prio = 20 + rt.time.soft = -1 + rt.time.hard = -1 + } + flags = [ ifexists nofail ] + } +] diff --git a/ar/.config/wireplumber/main.lua.d/51-device-priority.conf b/ar/.config/wireplumber/main.lua.d/51-device-priority.conf new file mode 100644 index 0000000..13c4987 --- /dev/null +++ b/ar/.config/wireplumber/main.lua.d/51-device-priority.conf @@ -0,0 +1,74 @@ +monitor.alsa.rules = [ + { + matches = [ + { + node.name = "~alsa_output.*hdmi.*" + } + ] + actions = { + update-props = { + priority.driver = 2000 + priority.session = 2000 + } + } + } + { + matches = [ + { + node.name = "~alsa_output.*analog.*" + } + ] + actions = { + update-props = { + priority.driver = 1000 + priority.session = 1000 + } + } + } +] + +monitor.bluez.rules = [ + { + matches = [ + { + device.name = "~bluez_card.*" + } + ] + actions = { + update-props = { + priority.driver = 3000 + priority.session = 3000 + bluez5.auto-connect = [ a2dp_sink ] + } + } + } +] + +node.rules = [ + { + matches = [ + { + node.name = "~bluez_output.*" + } + ] + actions = { + update-props = { + priority.driver = 3000 + priority.session = 3000 + } + } + } + { + matches = [ + { + node.name = "~bluez_input.*" + } + ] + actions = { + update-props = { + priority.driver = 3000 + priority.session = 3000 + } + } + } +] |
