aboutsummaryrefslogtreecommitdiff
path: root/.config/bspwm/bspwmrc
blob: 50be079b98037e0d682732f285a3279ca88796cc (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env sh
# vi: ft=sh

export SXHKD_SHELL=sh
pgrep -x sxhkd > /dev/null || sxhkd &
$HOME/.config/polybar/launch.sh &
feh --auto-reload --bg-fill /usr/share/backgrounds/background.png &

dunst &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
nm-applet &
blueman-applet &
thunar --daemon &
#pipewire &
#pipewire-pulse &

# Set up touchpad controls

# Libinput 
TID=$(xinput | sed -n 's/.*Touchpad.*id=\([0-9]*\).*/\1/p')
#xinput --set-prop $TID 'libinput Accel Speed' 0.5
xinput --set-prop $TID 'libinput Tapping Enabled' 1 &
xinput --set-prop $TID 'libinput Natural Scrolling Enabled' 1 &

# Synapse
#TID=`xinput list | grep "SynPS/2 Synaptics TouchPad" | sed 's/.*id=\([0-9]*\).*/\1/g'`
#PROP_NO=`xinput list-props ${TID} | grep "Synaptics Scrolling Distance" | sed 's/.*(\([0-9]*\)).*/\1/g'`
#xinput --set-prop $TID 'Synaptics Tap Action' 1
#xinput set-prop ${TID} ${PROP_NO} -106 -106

#bspc monitor -d I II III IV V VI VII VIII IX X
xrandr --output eDP1 --primary --auto
xrandr --output HDMI1 --same-as eDP1 --auto
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
#bspc monitor eDP1 -d 1 2 3 4 5 
#bspc monitor HDMI1 -s -d 6 7 8 9 10

bspc config border_width         2
bspc config window_gap          12

bspc config split_ratio          0.52
bspc config borderless_monocle   true
bspc config gapless_monocle      true

bspc rule -a mplayer2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off