flakes/modules/user/bspwm.nix

20 lines
484 B
Nix
Raw Normal View History

2022-03-22 23:50:53 +07:00
# Depends on eww
{ config, pkgs, ... }: {
2021-05-30 21:37:07 +07:00
xsession.windowManager.bspwm = {
enable = true;
2023-06-19 21:44:34 +07:00
monitors = { "DP-1" = [ "1" "2" "3" "4" "5" "6" "7" "8" "9" "0"]; };
2021-05-30 21:37:07 +07:00
settings = {
window_gap = 10;
border_width = 0;
split_ratio = 0.5;
2022-04-13 21:42:30 +07:00
top_padding = 0;
2021-05-30 21:37:07 +07:00
};
extraConfig = ''
${pkgs.feh}/bin/feh --no-fehbg --bg-fill ~/Pictures/Wallpapers/current
2022-03-22 23:50:53 +07:00
${pkgs.procps}/bin/pkill -SIGINT eww
2022-04-14 11:51:30 +07:00
${pkgs.eww}/bin/eww open linebar
2021-05-30 21:37:07 +07:00
'';
};
}