bspwm: add

This commit is contained in:
2024-08-03 17:50:11 +03:00
parent c321a599e4
commit 4725ea90f7
3 changed files with 153 additions and 0 deletions

43
.config/bspwm/bspwmrc Executable file
View File

@ -0,0 +1,43 @@
#!/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 I II III IV V VI VII VIII IX X
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 &
~/.config/bspwm/panel &
dunst &
mpd &
flameshot &
lxpolkit &
picom --experimental-backends &
wal -R
~/.fehbg
# Panel
${HOME}/.config/bspwm/panel.sh