26 lines
953 B
Bash
Executable File
26 lines
953 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# ---- basics ----
|
|
bspc monitor -d 1 2 3 4 5 6 7 8 9
|
|
|
|
# focus under mouse; mouse follows focus
|
|
bspc config focus_follows_pointer true
|
|
bspc config pointer_follows_focus true
|
|
|
|
# use Super as the mouse modifier; set mouse actions
|
|
bspc config pointer_modifier mod4
|
|
bspc config pointer_action1 move # Super + Left drag = move
|
|
bspc config pointer_action2 resize_side # Super + Middle drag = resize side
|
|
bspc config pointer_action3 resize_corner # Super + Right drag = resize corner
|
|
|
|
# simple borders & gaps (tweak to taste)
|
|
bspc config border_width 2
|
|
bspc config window_gap 8
|
|
bspc config focused_border_color "#88c0d0"
|
|
bspc config normal_border_color "#3b4252"
|
|
|
|
# optional: set a solid background (no compositor/wallpaper setter needed)
|
|
xsetroot -solid '#2e3440'
|
|
|
|
# start keybinder
|
|
pgrep -x sxhkd >/dev/null || sxhkd &
|