blob: f2126ccf3e4a85bbacc2ae20f04785b8d2332aeb (
plain)
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
|
#!/bin/sh
desktops="I II III IV V"
if xrandr | grep -q 'HDMI-1-1 connected'; then
bspc monitor '^1' -d $desktops
bspc monitor '^2' -d $desktops
#bspc wm -a 'laptop' 1366x768+0+0
#bspc wm -a 'hdmi' 1920x1080+1366+0
#bspc monitor 'laptop' -d $desktops
#bspc monitor 'hdmi' -d $desktops
#bspc monitor 'MONITOR' -r
else
bspc monitor -d $desktops
fi
bspc config border_width 4
bspc config window_gap 10
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true
#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 mpv state=floating
#bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
pgrep -x sxhkd > /dev/null || sxhkd "$XDG_CONFIG_HOME/sxhkd/sxhkdrcbspc" >~/logs/sxhkd.log &
xinit.sh
|