{pkgs, ...}: { imports = [ ./xfce.nix ./sxhkd.nix ]; home.packages = with pkgs; [dex]; 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"; }; monitors = { "primary" = ["I" "II" "III" "IV" "V" "VI" "VII" "VIII" "IX"]; }; rules = { "Xfce4-terminal".state = "floating"; "Nm-connection-editor".state = "floating"; "Qemu-system-x86_64".state = "floating"; "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"; }; extraConfig = '' xsetroot -cursor_name left_ptr polybar-msg cmd quit echo "---" | tee -a /tmp/polybar.log polybar 2>&1 | tee -a /tmp/polybar.log & disown echo "Bars launched..." dex -a ''; }; }