Archived
0
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.config/bspwm/bspwmrc
2022-01-08 21:28:34 -08:00

33 lines
1.2 KiB
Bash
Executable file

#! /bin/sh
# Autostart
xrandr --display 0 144 &
xrandr --display 1 60 &
pgrep -x pipewire > /dev/null || pipewire &
pgrep -x pipewire-pulse > /dev/null || pipewire-pulse &
pgrep -x pipewire-media-session > /dev/null || pipewire-media-session &
pgrep -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 DP-2 -d 1 2 3 4 5
bspc monitor HDMI-0 -d 6 7 8 9 0
# 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