fix: pipewire is no good, go back to pulseaudio
This commit is contained in:
parent
4e9b0a87dc
commit
d9a8cd3549
|
@ -22,9 +22,9 @@ local logout_menu_widget = require("awesome-wm-widgets.logout-menu-widget.logout
|
||||||
local mpdarc_widget = require("awesome-wm-widgets.mpdarc-widget.mpdarc")
|
local mpdarc_widget = require("awesome-wm-widgets.mpdarc-widget.mpdarc")
|
||||||
local batteryarc_widget = require("awesome-wm-widgets.batteryarc-widget.batteryarc")
|
local batteryarc_widget = require("awesome-wm-widgets.batteryarc-widget.batteryarc")
|
||||||
|
|
||||||
awful.spawn.once("pipewire")
|
--awful.spawn.once("pipewire")
|
||||||
awful.spawn.once("pipewire-pulse")
|
--awful.spawn.once("pipewire-pulse")
|
||||||
awful.spawn.with_shell("killall pipewire-media-session; sleep 2 && pipewire-media-session")
|
--awful.spawn.with_shell("killall pipewire-media-session; sleep 2 && pipewire-media-session")
|
||||||
--awful.spawn("wireplumber")
|
--awful.spawn("wireplumber")
|
||||||
-- &
|
-- &
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ case "$UNAMEA" in
|
||||||
*artix*)
|
*artix*)
|
||||||
sudo pacman -S --noconfirm --needed \
|
sudo pacman -S --noconfirm --needed \
|
||||||
xorg-server xorg-xinit xorg-xrandr xorg-xprop xorg-xev xdotool \
|
xorg-server xorg-xinit xorg-xrandr xorg-xprop xorg-xev xdotool \
|
||||||
pipewire pipewire-pulse pipewire-jack pavucontrol \
|
pulseaudio pulseaudio-alsa pulseaudio-bluetooth alsa-utils pavucontrol \
|
||||||
xclip xsel \
|
xclip xsel \
|
||||||
clang \
|
clang \
|
||||||
ibus ibus-rime rime-wubi \
|
ibus ibus-rime rime-wubi \
|
||||||
|
@ -104,4 +104,10 @@ if is_laptop; then
|
||||||
echo RUN+="/bin/chgrp video /sys/class/backlight/intel_backlight/brightness"
|
echo RUN+="/bin/chgrp video /sys/class/backlight/intel_backlight/brightness"
|
||||||
echo RUN+="/bin/chmod g+w /sys/class/backlight/intel_backlight/brightness"
|
echo RUN+="/bin/chmod g+w /sys/class/backlight/intel_backlight/brightness"
|
||||||
echo ```
|
echo ```
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# auto execute autorandr for monitor hotplug
|
||||||
|
echo 'ACTION=="change", SUBSYSTEM=="drm", RUN+="/usr/bin/autorandr --batch --change --force"' \
|
||||||
|
> sudo tee /etc/udev/rules.d/40-monitor-hotplug.rules
|
||||||
|
|
||||||
|
|
|
@ -340,16 +340,22 @@ input {
|
||||||
# mixer_type "none" # optional
|
# mixer_type "none" # optional
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
audio_output {
|
||||||
|
type "pulse"
|
||||||
|
name "My Pulse Output"
|
||||||
|
# server "remote_server" # optional
|
||||||
|
# sink "remote_server_sink" # optional
|
||||||
|
}
|
||||||
audio_output {
|
audio_output {
|
||||||
type "fifo"
|
type "fifo"
|
||||||
name "FIFO"
|
name "FIFO"
|
||||||
path "/tmp/mpd.fifo"
|
path "/tmp/mpd.fifo"
|
||||||
format "44100:16:2"
|
format "44100:16:2"
|
||||||
}
|
}
|
||||||
audio_output {
|
#audio_output {
|
||||||
type "pipewire"
|
#type "pipewire"
|
||||||
name "pipewire sound server"
|
#name "pipewire sound server"
|
||||||
}
|
#}
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user