aboutsummaryrefslogtreecommitdiff
path: root/.config/bspwm
diff options
context:
space:
mode:
Diffstat (limited to '.config/bspwm')
-rwxr-xr-x.config/bspwm/bspwmrc45
1 files changed, 45 insertions, 0 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
new file mode 100755
index 0000000..891ca0d
--- /dev/null
+++ b/.config/bspwm/bspwmrc
@@ -0,0 +1,45 @@
+#!/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 &
+xrandr --output HDMI1 --auto --same-as eDP1 --mode 1920x1080 &
+
+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
+bspc monitor -d 1 2 3 4 5 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
+