diff --git a/.config/bspwmrc b/.config/bspwmrc new file mode 100755 index 0000000..9f04aa8 --- /dev/null +++ b/.config/bspwmrc @@ -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 + diff --git a/.xinitrc b/.xinitrc index 35335a7..a4a0324 100644 --- a/.xinitrc +++ b/.xinitrc @@ -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