42 lines
917 B
Bash
Executable File
42 lines
917 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# Load colors from wal
|
|
[ -f "${HOME}/.cache/wal/colors.sh" ] && . "${HOME}/.cache/wal/colors.sh"
|
|
|
|
# Define mod keys
|
|
mod=Mod4 # Usually the Super key
|
|
alt=Mod1 # Usually the Alt key
|
|
ctrl=Control
|
|
shift=Shift
|
|
|
|
# Set bspwm settings
|
|
bspc monitor -d a s d f g z x c v b
|
|
bspc config border_width 2
|
|
bspc config window_gap 12
|
|
bspc config split_ratio 0.5
|
|
bspc config border_color_normal $color0
|
|
bspc config border_color_focus $color8
|
|
bspc config border_color_urgent $color1
|
|
|
|
# Set bspwm rules
|
|
bspc rule -a "Cadence" floating=on
|
|
bspc rule -a "Lxpolkit" floating=on
|
|
bspc rule -a "Dragon-drag-and-drop" floating=on
|
|
bspc rule -a "dialog" floating=on
|
|
bspc rule -a "notification" manage=off
|
|
bspc rule -a "dock" manage=off
|
|
bspc rule -a "desktop" manage=off
|
|
|
|
# Startup applications
|
|
sxhkd &
|
|
# dunst &
|
|
mpd &
|
|
flameshot &
|
|
lxpolkit &
|
|
picom --experimental-backends &
|
|
wal -R
|
|
~/.fehbg
|
|
|
|
# Panel
|
|
${HOME}/.config/bspwm/panel
|