dotfiles/home/.config/bspwm/bspwmrc

50 lines
1.3 KiB
Text
Raw Permalink Normal View History

2024-10-08 21:32:03 +02:00
#! /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
2024-10-08 21:32:03 +02:00
# bspc monitor eDP1 -d 1 2 3 4 5
# bspc monitor DP4 -d 6 7 8 9 0
2024-10-08 21:32:03 +02:00
bspc config top_padding 36
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
bspc rule -a noob state=floating
2024-10-08 21:32:03 +02:00
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