summaryrefslogtreecommitdiff
path: root/src/dotfiles/bspwm
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotfiles/bspwm')
-rwxr-xr-xsrc/dotfiles/bspwm/bspwmrc53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/dotfiles/bspwm/bspwmrc b/src/dotfiles/bspwm/bspwmrc
new file mode 100755
index 0000000..f3a6adc
--- /dev/null
+++ b/src/dotfiles/bspwm/bspwmrc
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+pgrep -x sxhkd > /dev/null || sxhkd &
+
+
+bspc rule -a kitty state=floating border=off
+bspc rule -a Zathura state=tiled
+bspc rule -a mpv follow=on
+
+bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8 9
+
+
+#borders and colors
+bspc config normal_border_color "#262626"
+bspc config focused_border_color "#4E3524"
+bspc config border_width 10
+bspc config window_gap 3
+bspc config single_monocle true
+bspc config borderless_monocle true
+bspc config gapless_monocle true
+
+
+#to switch caps with escape
+setxkbmap -option "caps:escape"
+
+
+: '
+Uncomment the following line to make the Caps Lock button
+work as Escape when pressed alone, and as Ctrl when pressed
+with another key.
+'
+#xcape -e 'Caps_Lock=Escape'
+#setxkbmap -option "caps:ctrl_modifier"
+
+
+#increase cursor speed
+xset r rate 300 50
+
+#disable screen blackening
+xset s off && xset -dpms
+
+#hide mouse cursor if it is inactive
+unclutter &
+
+#turns touchpad off
+synclient TouchpadOff=1
+
+#turn keyboard layout to United States
+setxkbmap us
+
+xgamma -gamma 0.8
+picom &
+