33 lines
782 B
Nix
33 lines
782 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
monitorPages = [ "I" "II" "III" "IV" "V" "VI" "VII" "VIII" "IX" "X" ];
|
|
strPalette = pkgs.extra.palette.toRGBHex pkgs.extra.colorPalette;
|
|
in
|
|
{
|
|
xsession.windowManager.bspwm = {
|
|
enable = true;
|
|
settings = {
|
|
border_width = 2;
|
|
border_radius = 8;
|
|
window_gap = 4;
|
|
split_ratio = 0.5;
|
|
top_padding = 0;
|
|
borderless_monocle = true;
|
|
gapless_monocle = false;
|
|
normal_border_color = strPalette.normal.blue;
|
|
focused_border_color = strPalette.bright.blue;
|
|
};
|
|
monitors = {
|
|
"eDP1" = monitorPages;
|
|
"DP1" = monitorPages;
|
|
"eDP-1-1" = monitorPages;
|
|
"HDMI-0" = monitorPages;
|
|
};
|
|
extraConfig = ''
|
|
sleep 2
|
|
polybar-msg cmd restart
|
|
'';
|
|
startupPrograms = [];
|
|
};
|
|
}
|