bspwm: add
This commit is contained in:
43
.config/bspwm/bspwmrc
Executable file
43
.config/bspwm/bspwmrc
Executable 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
|
||||
|
||||
4
.config/bspwm/panel
Executable file
4
.config/bspwm/panel
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
polybar-msg cmd quit
|
||||
polybar main 2>&1 & disown
|
||||
Reference in New Issue
Block a user