#! /bin/sh # set primary monitor and lower resolution xrandr --output HDMI-A-0 --mode 2560x1440 --primary --right-of eDP # start sxhkd pgrep -x sxhkd > /dev/null || sxhkd & bspc monitor eDP -d 1 2 3 4 5 bspc monitor HDMI-A-0 -d 6 7 8 9 10 bspc config border_width 4 bspc config window_gap 15 bspc config split_ratio 0.5 bspc config borderless_monocle true bspc config gapless_monocle true # theme hsetroot -solid '#181926' bspc config normal_border_color \#b4befe bspc config focused_border_color \#cba6f7 bspc config active_border_color \#cba6f7 bspc config urgent_border_color \#cba6f7 bspc config presel_feedback_color \#cba6f7 # rules bspc rule -a discord -o node=@^1:^1:/2 desktop='1' follow=off focus=off bspc rule -a Element -o node=@^1:^1:/1 desktop='1' bspc rule -a TelegramDesktop -o node=@^1:^1:/1 desktop='1' bspc rule -a firefox desktop='6' state=tiled follow=off bspc rule -a REAPER desktop='10' follow=off # floating windows bspc rule -a Pavucontrol state=floating rectangle=600x800+0+0 center=on bspc rule -a 1Password state=floating rectangle=1000x900+0+0 center=on bspc rule -a Org.gnome.Nautilus state=floating rectangle=1200x900+0+0 center=on # startup picom --experimental-backends & polybar-msg cmd quit polybar left & polybar right & dunst & if [ ! -f /tmp/startup.lock ]; then touch /tmp/startup.lock element-desktop & telegram-desktop & discord-canary & firefox & fi