blob: 26c534cc723d23ff58c863126f4823a1553ca3a3 (
plain) (
blame)
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
|
#!/bin/bash
sxhkd -c ~/.config/sxhkd/sxhkdrc.bspwm &
~/.config/polybar/launch.sh &
bspc monitor primary -d 1 2 3 4 term
python <<EOF
import subprocess
import sys
p = subprocess.run(['xrandr', '--listactivemonitors'],
capture_output=True, check=True)
count = int(p.stdout.decode('utf-8').split('\n')[0].split(':')[1])
if count < 2:
sys.exit(1)
EOF
[ $? -eq 0 ] && bspc monitor primary#next -d a s d f
bspc config border_width 4
bspc config window_gap 5
bspc config focus_follows_pointer true
bspc config pointer_follows_monitor true
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc rule -a *:tmux_term desktop=term
|