dotfiles/home/.config/bspwm/bspwmrc
2024-10-08 21:32:03 +02:00

53 lines
1.5 KiB
Bash
Executable file

#! /bin/sh
pgrep -x sxhkd > /dev/null || sxhkd &
bspc config border_width 2
bspc config window_gap 5
bspc config focused_border_color \#d65d0e
bspc config active_border_color \#928374
bspc config normal_border_color \#888888
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
# bspc monitor eDPI1 -d I II III IV V
# bspc monitor DP4 -d VI VII VIII IX X
# bspc monitor eDP1 -d " 1" 2 3 4 5 6 7 8 9 0
xrandr --output DP-2 --mode 1920x1080 --rotate normal --output DP-0 --primary --mode 2560x1440 --rotate normal --rate 165.08 --right-of DP-2
bspc wm -O DP-2 DP-0
bspc monitor DP-0 -d 1 2 3 4 5
bspc monitor DP-2 -d 6 7 8 9 0
bspc monitor DP-2 -s DP-0
bspc config top_padding 36
xinput set-prop 'BenQ ZOWIE BenQ ZOWIE Gaming Mouse' 'libinput Accel Speed' -0.6
if type "xrandr"; then
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
MONITOR=$m polybar --reload example &
done
else
polybar --reload example &
fi
# bspc rule -a Gimp desktop='^8' state=floating follow=on
# bspc rule -a Chromium desktop='^2'
# bspc rule -a mplayer2 state=floating
# bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
bspc rule -a Pavucontrol state=floating rectangle=700x500+1210+41
bspc rule -a Nm-connection-editor state=floating
bspc rule -a feh state=floating
bspc rule -a Godot_Engine state=floating
nm-applet &
xsetroot -cursor_name left_ptr
feh --bg-scale ~/Media/Images/andromeda.jpg &
picom --config ~/.config/picom/picom.conf &
dbus-update-activation-environment --all