-
Notifications
You must be signed in to change notification settings - Fork 0
/
bspwmrc
executable file
·58 lines (53 loc) · 1.5 KB
/
bspwmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
case "$(xrandr --query | grep " connected" | wc -l)" in
1)
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
;;
2)
bspc monitor -o eDP1 DP2-2
bspc monitor ^2 -d 3 4 5
bspc monitor ^1 -d 1 2 6 7 8 9 10
;;
3)
bspc monitor -o eDP-1-1 HDMI-1-2 DP-1-1
bspc monitor DP-1-1 -d 1 2 4 5
bspc monitor HDMI-1-2 -d 3 6 7
bspc monitor eDP-1-1 -d 8 9 10
;;
4)
bspc monitor ^1 -d 1
bspc monitor ^2 -d 2 3 4
bspc monitor ^3 -d 5 6 7
bspc monitor ^4 -d 8 9 10
;;
esac
$DOTFILES/scripts/wallpaper.sh
bspc config window_gap 10
bspc config border_width 1
bspc config split_ratio 0.5
bspc config remove_unplugged_monitors true
bspc config borderless_monocle false
bspc config gapless_monocle false
bspc config bottom_padding 12
xsetroot -cursor_name left_ptr
bspc rule -a Sxiv state=floating
bspc rule -a discord desktop=3
bspc rule -a Zathura state=tiled
bspc rule -a Wine state=pseudo_tiled
bspc rule -a Rider state=pseudo_tiled
bspc rule -a Steam state=pseudo_tiled
bspc config focus_follows_pointer true
bspc config pointer_follows_focus true
bspc config pointer_follows_monitor true
bspc config focused_border_color "#0BD961"
if ! pgrep sxhkd
then
sxhkd &
else
pkill -USR1 -x sxhkd
fi
if ! pgrep thonkbar_daemon
then
thonkbar_daemon $(xrandr --query | grep " connected" | wc -l ) &
fi
[ -e "$PANEL_FIFO" ] && bspc subscribe report > "$PANEL_FIFO" &