Archived
0
0
Fork 0

moved pipewire to xinitrc

This commit is contained in:
Daryl Ronningen 2022-01-13 15:04:16 -08:00
parent 948a5f2c63
commit f9f890e7a7
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
2 changed files with 33 additions and 0 deletions

29
.config/bspwmrc Executable file
View file

@ -0,0 +1,29 @@
#! /bin/sh
# Autostart
xrandr --display 0 144 &
xrandr --display 1 60 &
grep -x dunst > /dev/null || dunst -conf $HOME/.config/dunst/dunstrc &
sxhkd &
xrdb $HOME/.Xresources
$HOME/.config/polybar/launch.sh &
pgrep -x polkit-gnome-au > /dev/null || /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
#pgrep -x glava > /dev/null || glava --desktop &
feh --bg-fill --randomize $HOME/backgrounds/* /usr/share/backgrounds/* &
pgrep -x nm-applet > /dev/null || nm-applet &
pgrep -x pasystray > /dev/null || pasystray &
pgrep -x xscreensaver > /dev/null || xscreensaver -no-splash &
pgrep -x picom > /dev/null || picom --config $HOME/.config/picom/picom.conf &
pgrep -x wmname > /dev/null || wmname LG3D &
gnome-keyring-daemon --start &
# Set workspaces
bspc monitor eDP1 -d 1 2 3 4 5 6 7 8 9 10
# BSPWM config
bspc config border_width 1
bspc config window_gap 12
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true

View file

@ -7,4 +7,8 @@ if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi
pipewire
pipewire-pulse
pipewire-media-session
exec bspwm