2023-05-17 17:10:18 +01:00
|
|
|
{pkgs, ...}: {
|
2023-04-08 10:32:55 +01:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
nitrogen
|
|
|
|
polybar
|
|
|
|
];
|
2023-04-04 14:20:49 +01:00
|
|
|
xsession.windowManager.bspwm = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
window_gap = 12;
|
|
|
|
border_width = 2;
|
|
|
|
split_ratio = 0.5;
|
|
|
|
borderless_monocle = true;
|
|
|
|
gapless_monocle = true;
|
|
|
|
pointer_modifier = "mod1";
|
|
|
|
pointer_action1 = "move";
|
|
|
|
pointer_action2 = "resize_side";
|
|
|
|
pointer_action3 = "resize_corner";
|
|
|
|
};
|
2023-04-05 09:48:05 +01:00
|
|
|
monitors = {
|
2023-05-17 17:10:18 +01:00
|
|
|
"primary" = ["I" "II" "III" "IV" "V" "VI" "VII" "VIII" "IX"];
|
2023-04-05 09:48:05 +01:00
|
|
|
};
|
2023-04-05 09:56:18 +01:00
|
|
|
rules = {
|
|
|
|
"Xfce4-terminal".state = "floating";
|
2023-04-08 10:32:55 +01:00
|
|
|
"Nm-connection-editor".state = "floating";
|
2023-04-11 11:03:01 +01:00
|
|
|
"Qemu-system-x86_64".state = "floating";
|
2023-04-08 10:32:55 +01:00
|
|
|
"Pavucontrol".state = "floating";
|
|
|
|
"kitty".desktop = "^1";
|
|
|
|
"firefox".desktop = "^2";
|
|
|
|
"Thunar".desktop = "^3";
|
|
|
|
"thunderbird".desktop = "^4";
|
|
|
|
"Mailspring".desktop = "^4";
|
|
|
|
"Element".desktop = "^5";
|
|
|
|
"Signal".desktop = "^5";
|
|
|
|
"TelegramDesktop".desktop = "^5";
|
|
|
|
"Steam".desktop = "^6";
|
|
|
|
"Bitwarden".desktop = "^7";
|
|
|
|
"Nxplayer.bin".desktop = "^8";
|
2023-04-05 09:56:18 +01:00
|
|
|
};
|
2023-05-17 17:10:18 +01:00
|
|
|
extraConfig = builtins.readFile ./config/bspwm/startup.sh;
|
2023-04-04 14:20:49 +01:00
|
|
|
};
|
|
|
|
}
|