42 lines
1,012 B
Nix
42 lines
1,012 B
Nix
{ pkgs, ... }:
|
|
{
|
|
xsession.windowManager.bspwm = {
|
|
enable = true;
|
|
package = pkgs.bspwm;
|
|
|
|
extraConfig = ''
|
|
${pkgs.bspwm}/bin/bspc monitor -d 1 2 3 4 5 6 7 8 9
|
|
'';
|
|
|
|
settings = {
|
|
window_gap = 8;
|
|
border_width = 1;
|
|
top_padding = 2;
|
|
bottom_padding = 2;
|
|
right_padding = 2;
|
|
left_padding = 2;
|
|
top_monocle_padding = 0;
|
|
bottom_monocle_padding = 0;
|
|
right_monocle_padding = 0;
|
|
left_monocle_padding = 0;
|
|
split_ratio = 0.5;
|
|
borderless_monocle = true;
|
|
gapless_monocle = true;
|
|
normal_border_color = "#3B4252";
|
|
active_border_color = "#3B4252";
|
|
focused_border_color = "#3B4252";
|
|
presel_feedback_color = "#D8DEE9";
|
|
};
|
|
|
|
rules = {
|
|
"Zathura".state = "tiled";
|
|
};
|
|
|
|
startupPrograms = [
|
|
"${pkgs.xorg.setxkbmap}/bin/setxkbmap -layout us"
|
|
"${pkgs.xorg.xsetroot}/bin/xsetroot -cursor_name left_ptr"
|
|
"${pkgs.xorg.xset}/bin/xset r rate 350 40"
|
|
"~/.fehbg"
|
|
];
|
|
};
|
|
}
|