dotfiles/.config/bspwm/bspwmrc

47 lines
1.6 KiB
Text
Raw Normal View History

2020-03-04 03:51:39 +01:00
#!/bin/sh
sxhkd &
for monitor in $(bspc query -M); do
2020-03-21 14:35:50 +01:00
bspc monitor $monitor -d \~
2020-03-04 03:51:39 +01:00
done
bspc config border_width 2
bspc config window_gap 0
bspc config top_padding 20
bspc config bottom_padding 0
bspc config left_padding 0
bspc config right_padding 0
bspc config single_monocle false
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config focus_follows_pointer true
bspc config remove_disabled_monitors true
bspc config merge_overlapping_monitors true
bspc config pointer_modifier mod1
bspc config pointer_action1 move
bspc config pointer_action2 resize_side
bspc config pointer_action3 resize_corner
2020-03-05 17:55:31 +01:00
bspc config normal_border_color "#4c6a6a"
2020-03-04 03:51:39 +01:00
bspc config active_border_color "#1e1e1e"
2020-03-05 17:55:31 +01:00
bspc config focused_border_color "#a6f6c6"
bspc config presel_feedback_color "#a6c6c6"
2020-03-04 04:35:42 +01:00
# bspc config urgent_border_color "#dd2727"
2020-03-04 03:51:39 +01:00
#polybar hidden when fullscreen for vlc, youtube, mpv ...
#find out the name of your monitor with xrandr
2020-03-04 04:35:42 +01:00
#xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_DisplayPort-0)
#xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_DisplayPort-1)
#xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_HDMI-A-0)
2020-03-04 03:51:39 +01:00
bspc rule -a Screenkey manage=off
2020-03-05 01:50:57 +01:00
bspc rule -a Zathura state=tiled manage=on
2020-03-04 03:51:39 +01:00
2020-03-04 04:35:42 +01:00
nitrogen --restore &
/usr/lib/xfce-polkit/xfce-polkit &
xss-lock -- i3lock -n -e -c 333333 &
2020-03-04 03:51:39 +01:00
$HOME/.config/polybar/launch.sh