Fix install-root.sh, add pipewire to bspwmrc

This commit is contained in:
fanyx 2022-07-12 10:25:08 +02:00
parent 28f778427d
commit 96f4189db8
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,8 @@ pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x picom > /dev/null || picom & pgrep -x picom > /dev/null || picom &
~/.config/polybar/launch.sh & ~/.config/polybar/launch.sh &
pgrep -x Discord > /dev/null || Discord & pgrep -x Discord > /dev/null || Discord &
pgrep -x pipewire > /dev/null || pipewire &
pgrep -x pipewire-pulse > /dev/null || pipewire-pulse &
# $HOME/.config/polybar/launch.sh # $HOME/.config/polybar/launch.sh
@ -31,7 +33,7 @@ bspc config split_ratio 0.5
bspc config borderless_monocle true bspc config borderless_monocle true
bspc config gapless_monocle true bspc config gapless_monocle true
bspc config focus_follows_pointer true bspc config focus_follows_pointer false
# -------------------------------------------------------- Rules # -------------------------------------------------------- Rules
# #

View File

@ -15,4 +15,4 @@ ln -sf /run/runit/supervise.runsvdir-$user /etc/sv/runsvdir-$user/supervise
# patch bspwm to be run with dbus session # patch bspwm to be run with dbus session
cp /usr/share/xsessions/bspwm.desktop /usr/share/xsessions/bspwm-dbus.desktop cp /usr/share/xsessions/bspwm.desktop /usr/share/xsessions/bspwm-dbus.desktop
sed -i -e 's/Exec=*/dbus-launch --exit-with-x11 bspwm/g' /usr/share/xsession/bspwm-dbus.desktop sed -i -e 's/Exec=.*/Exec=dbus-launch --exit-with-x11 bspwm/g' /usr/share/xsessions/bspwm-dbus.desktop