diff options
author | AnInternetTroll <lucafulger@gmail.com> | 2022-05-21 09:46:16 +0000 |
---|---|---|
committer | AnInternetTroll <lucafulger@gmail.com> | 2022-05-21 09:46:16 +0000 |
commit | bdddb2197df2cb91df2e414a0af32455ffe713e1 (patch) | |
tree | f067c548d9cfed56e5b7da98f212e3ad5523c33e /.config/bspwm | |
parent | a7688261bb384cc93836052f1dba14a178580465 (diff) | |
download | dotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.tar dotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.tar.gz dotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.tar.bz2 dotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.tar.lz dotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.tar.xz dotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.tar.zst dotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.zip |
Add bspwm and configure sway a bit more
Diffstat (limited to '.config/bspwm')
-rwxr-xr-x | .config/bspwm/bspwmrc | 45 |
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 + |