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

27 lines
947 B
Bash
Executable file

#! /bin/sh
# Autostart
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 &
feh --bg-fill --randomize $HOME/backgrounds/* /usr/share/backgrounds/* &
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 --experimental-backends &
wmname LG3D &
while pgrep -u $UID -f windows.sh >/dev/null; do pkill -f windows.sh; done
~/.config/bspwm/windows.sh &
# 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 3
bspc config window_gap 12
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true